I've got a lookup table called Payments that I need to refresh from a master database. I've been doing this by dumping the entire table and the inserting the rows from scratch.
The problem is that there is a relationship with the Orders table and I can't delete the records in the Payments table without violating that relationship.
At the end of the transaction, after the delete and the inserts, referential integrity ought not to be violated.
Is there a way to do this without having to resort to locating each record and updating if necessary, inserting if the record doesn't exist, or deleting a record that has no match?
The master database is MySQL so I don't have the ability to use any of the replication functionality built into access.
The problem is that there is a relationship with the Orders table and I can't delete the records in the Payments table without violating that relationship.
At the end of the transaction, after the delete and the inserts, referential integrity ought not to be violated.
Is there a way to do this without having to resort to locating each record and updating if necessary, inserting if the record doesn't exist, or deleting a record that has no match?
The master database is MySQL so I don't have the ability to use any of the replication functionality built into access.