I have a database that gets automatically updated by an external application (AccessBooks RT). Currently, the application is set to replace existing records. This means that any fields I add to the tables are lost during an update.
It has been suggested to me to add tables that contain the additional fields, and link them back to the original tables. Since these tables won't be automatically updated, the data will persist untouched.
The problem, however, is how to ensure that for every record in the original table, I have a matching record in the linked table.
For example, I need a field to indicate whether a label has been printed for a particular line item (salesorderlinedetail) of a sales order (salesorder). I want to make another table, let's call it "_salesorderlinedetail" that's linked back to the salesorder table in the same way as salesorderdetail. For every record in salesorderlinedetail, there must be a corresponding record in _salesorderlinedetail.
A few points to note:
- Database is split into two parts - FE and BE
- Multiple users (3)
- Automatic update can happen at any time
Some pointers in the right direction would be appreciated greatly!
Thanks,
-Sparky
It has been suggested to me to add tables that contain the additional fields, and link them back to the original tables. Since these tables won't be automatically updated, the data will persist untouched.
The problem, however, is how to ensure that for every record in the original table, I have a matching record in the linked table.
For example, I need a field to indicate whether a label has been printed for a particular line item (salesorderlinedetail) of a sales order (salesorder). I want to make another table, let's call it "_salesorderlinedetail" that's linked back to the salesorder table in the same way as salesorderdetail. For every record in salesorderlinedetail, there must be a corresponding record in _salesorderlinedetail.
A few points to note:
- Database is split into two parts - FE and BE
- Multiple users (3)
- Automatic update can happen at any time
Some pointers in the right direction would be appreciated greatly!
Thanks,
-Sparky