Home > Back-end >  Again the issue is master-slave table, have a headache, high marks for ideas...
Again the issue is master-slave table, have a headache, high marks for ideas...

Time:10-12

There are three parts to the document header, table 1, table 2, in order to realize the function of the following:
After the entire document of new, in the header, table 1, table 2 input data respectively, header data can be input at any time or adjust, table body after input a line at least 1, table 2 can be corresponding to this entry, at the same time the table body after more than 1 allows the input line, line by line corresponding to the input table body 2 again, check after the whole document entry, to save the document, which all have fid fields, table 1 has body feguid field corresponding table 2 feguid fields,

CodePudding user response:

upupup

CodePudding user response:

Directly using the database sensitive control, automatic writing background database?
Also seems to have special setup process can prepare

Myself is usually to generate SQL realize two table rights deleted, correlation is also through the program

CodePudding user response:

A rare business applications, are generally master-slave two table is enough,
  • Related