AuditTrail2.mdb (advanced) (97, 2000-2007) |
Post Reply |
Author | |
Roger Carlson
Microsoft MVP Joined: 20 Feb 2008 Status: Offline Points: 261 |
Post Options
Thanks(0)
Posted: 04 Aug 2008 at 3:55am |
Please consider donating $1 per sample downloaded, find out why here.
AuditTrail2.mdb
This sample is a more complete version of AuditTrail.mdb.
The main problem with the previous AuditTrail.mdb is that if the user cancels a record after making some changes, it still records the actions. To work around this, AuditTrail2.mdb writes the values to a temporary table and only when the record is committed, is it written to the Audit table. An additional feature of this version, is the use of a separate database for holding the AuditTable and it also uses a temporary database for the temporary table. This is to reduce database bloat. AuditTable.mdb (the file that holds the AuditTable) is re-linked each time the application is opened, and AuditTemp.mdb is recreated each time the application is opened. The main problem with this application is that if multiple records are deleted in the subform, only one of them will be recorded. I see no way around this. My conclusion is that the only way to insure absolutely accurate audit trails is to use unbound forms. Download |
|
|
|
Sponsored Links | Want a good read? Try The Summer of His Life (available on Amazon!) |
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |