Keeping a history in a table

G

Guest

Before updating a record in a table via a bound form, I want to keep a
history of the entire record before it was updated.

I've tried copying the record using an event procedure on the 'before
update' event of the controls on the form but another copy of the record is
created when I move to the next control and so on.

What I'm looking to do is to capture a 'snapshot' of the record before any
changes are made and then capture an entirely new record once all the updates
for the record are finished.

Is there a way of doing this?
 
D

Dirk Goldgar

PRH said:
Before updating a record in a table via a bound form, I want to keep a
history of the entire record before it was updated.

I've tried copying the record using an event procedure on the 'before
update' event of the controls on the form but another copy of the
record is created when I move to the next control and so on.

What I'm looking to do is to capture a 'snapshot' of the record
before any changes are made and then capture an entirely new record
once all the updates for the record are finished.

Is there a way of doing this?

Have a look at this article of Allen Browne's:

http://allenbrowne.com/AppAudit.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top