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.
URL: www.rogersaccesslibrary.com/forum/forum_posts.asp?TID=398
Printed Date: 25 Sep 2020 at 7:15am
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


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, http://www.rogersaccesslibrary.com/whydonations.htm - find out why here .
 
AuditTrail2.mdb
 
This sample is a more complete version of http://www.rogersaccesslibrary.com/forum/forum_posts.asp?TID=399 - 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
Access 97 (101 KB):
http://www.rogersaccesslibrary.com/forum/uploads/5/AuditTrail2_97.zip - AuditTrail2_97.zip
Access 2000+ (106 KB): http://www.rogersaccesslibrary.com/forum/uploads/5/AuditTrail2-2k.zip - AuditTrail2-2k.zip



-------------
Consider donating $1 per sample downloaded, http://www.rogersaccesslibrary.com/whydonations.htm" rel="nofollow - find out why here .<



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net