G
Guest
Dear All,
I have a table with a number of records including values 'X' and 'U'. I want
to replace these with '99' and '98' respectively, however the table is a
lookup table and won't let me do this directly due to referencial integrity.
So i need to add the new values, update the second table and then delete the
records for X and U. Some issues that may affect this are, the tables are
linked and have a relationship which cannot be deleted.
The major problem is that i need to do this off a button on a form in VBA, i
can write an amend, update and delete query but for reasons (complicated and
lengthy) there must be NO queries, it must be done totally from VBA, please
can anyone help me write some code to do this.
Thank you
Emma
I have a table with a number of records including values 'X' and 'U'. I want
to replace these with '99' and '98' respectively, however the table is a
lookup table and won't let me do this directly due to referencial integrity.
So i need to add the new values, update the second table and then delete the
records for X and U. Some issues that may affect this are, the tables are
linked and have a relationship which cannot be deleted.
The major problem is that i need to do this off a button on a form in VBA, i
can write an amend, update and delete query but for reasons (complicated and
lengthy) there must be NO queries, it must be done totally from VBA, please
can anyone help me write some code to do this.
Thank you
Emma