|
Main table one:
boxID is the primary key,
list:
Auto ID, BoxID ..........
Associated child table of the schedule (associated by ID)
Automatic ID, mainID (Save the automatic ID of the above list)
At this time I was copying all the contents of this list according to the boxID, including the schedule and its subtables.
Because the schedule is multiple records, and the records are generated before they are generated.
In this way, only after copying, use the cursor to get the automatic ID of the detail table, and then store the corresponding sub-table records.
Is there any good way to complete the copy? |
|