Print Page | Close Window

AuditTrail2.mdb (advanced) (97, 2000-2007)

Printed From: Roger's Access Library
Category: Roger's Access Library
Forum Name: Roger's Download Samples
Forum Description: A compendium of Microsoft Access 97 and 2000+ routines, each separated into its own sample database.
Printed Date: 25 Sep 2020 at 7:15am
Software Version: Web Wiz Forums 12.03 -

Topic: AuditTrail2.mdb (advanced) (97, 2000-2007)
Posted By: Roger Carlson
Subject: AuditTrail2.mdb (advanced) (97, 2000-2007)
Date Posted: 04 Aug 2008 at 3:55am
Please consider donating $1 per sample downloaded, - find out why here .
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. 

Access 97 (101 KB): -
Access 2000+ (106 KB): -

Consider donating $1 per sample downloaded," rel="nofollow - find out why here .<

Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 -
Copyright ©2001-2019 Web Wiz Ltd. -