This sample illustrates one way to produce a simple audit trail table containing: machine name, login name, user name (access security), record number, field name, original value, new value, and a date/time stamp. It tracks all changes made to a record in either the form or subform. It also tracks when new records are inserted and when records are deleted and the values of the deleted fields. It does not work properly for deleting if Cascade Deletes is set. It will show the deletes from the main form, but not the subform. Code is contained in Module1 and is called from each text box on each form. There are no doubt many improvements that can be made. This is just for illustration purposes.
Download
Access 97 (58 KB): AuditTrail97.zip
Access 2000 DAO (59 KB): AuditTrail2k.zip
BMS Business Management System company is a developed company on software programming the try to create database application to enhance business productivity see our website :www.bmsco-eg.com
Subscribe to:
Post Comments (Atom)
Receipt Management: Stop Losing Paper Receipts Forever
Paper receipts fade, tear, and get lost. Here's how the Petty Cash app solves the receipt problem permanently. The Paper Problem Therma...
-
This sample demonstrates how to append data from a database to an Excel Spreadsheet using Office Automation to find the next empty row in th...
-
Microsoft Office Access , previously known as Microsoft Access , is a relational database management system from Microsoft that combines t...
No comments:
Post a Comment