My previous post asked how to ATTACH a temp database to insert new records - SOLVED (many thanks to Erel and others). The tables in my main database inserted records from my temp database tables. Temp tables were emptied so at next restart of the app, no (duplicate) records will be inserted (no key violation).
I shall call this process - Template 1
During successive updates, this process may happen again and again - inserting new records to expand the scope of the app.
My example is exactly this:
The app performs inspections through checklists.
First started out with Cars and Light Trucks. The user can add or remove items from the checklist for either...
Now I need to add Boats, Airplanes and Baby Strollers... Each has an associated (default) checklist for the user to modify. I can not destroy what they have already done (modified) by forcing an over-write to update the tables with new stuff. Next week I may need to add Houses, Golf Carts and Nuclear Reactors.
Template(s)
I have already created the first template and used it (Template 1).
Since I cannot empty the tables in DirInternal (or delete them), how can I best determine when a new template of the same name (temp.db) with new items is available to install?
Anybody confronted this type of situation? (I am sure - games added "new levels and such" all the time).
Your thoughts most welcome.
Thanks
I shall call this process - Template 1
During successive updates, this process may happen again and again - inserting new records to expand the scope of the app.
My example is exactly this:
The app performs inspections through checklists.
First started out with Cars and Light Trucks. The user can add or remove items from the checklist for either...
Now I need to add Boats, Airplanes and Baby Strollers... Each has an associated (default) checklist for the user to modify. I can not destroy what they have already done (modified) by forcing an over-write to update the tables with new stuff. Next week I may need to add Houses, Golf Carts and Nuclear Reactors.
Template(s)
I have already created the first template and used it (Template 1).
Since I cannot empty the tables in DirInternal (or delete them), how can I best determine when a new template of the same name (temp.db) with new items is available to install?
Anybody confronted this type of situation? (I am sure - games added "new levels and such" all the time).
Your thoughts most welcome.
Thanks