Hi all
I have a database that stores customer records and their associated
insurance details. I need to be able to archive any changes made to
that record. Currently the user selects 'record change' whenever
anything is changed in the details. So I have created an append query
for the appropriate tables and stored the details in a new version of
the table called 'hsttablename'. This has worked well and I now have a
table with all the changes in it.
But what I want to do now is automate the query(s) to run each time the
user presses the submit button. Obviously rerunning the append query
gives me an error of primary key violation. Would it be possible to get
the append query just to update the new changes in one particular
record when the submit button was pressed?
Any help would be greatly appreciated
I have a database that stores customer records and their associated
insurance details. I need to be able to archive any changes made to
that record. Currently the user selects 'record change' whenever
anything is changed in the details. So I have created an append query
for the appropriate tables and stored the details in a new version of
the table called 'hsttablename'. This has worked well and I now have a
table with all the changes in it.
But what I want to do now is automate the query(s) to run each time the
user presses the submit button. Obviously rerunning the append query
gives me an error of primary key violation. Would it be possible to get
the append query just to update the new changes in one particular
record when the submit button was pressed?
Any help would be greatly appreciated
Comment