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
Subscribe to:
Post Comments (Atom)
Popular Posts
-
Trainer: Don Jones Videos: 20 Time: 6 hrs This series shows you how to build Web applications for Windows, using version 4 of the .NET Fra...
-
انتهت مباراة ريال مدريد ضد أوساسونا بالتعادل الإيجابي بنتيجة 1-1 في المباراة التي أقيمت بينهما مساء الأحد على ملعب "سانتياجو برنابيو...
-
تحدث الهولندي تين هاج، المدير الفني لفريق مانشستر يونايتد، على واقعة غضب البرتغالي كريستيانو رونالدو من عدم مشاركته في مباراة توتنهام الت...
-
By Cyndi Snyder Stackpole, MBA, PMP 26 Jan2009 A lot of people are wondering what is going to change with the PMBOK® Guide: Fourth Edit...
-
Product Description Fast answers to frequently asked questions Excel 2007 essentials at your fingertips! If you like your answers quic...
-
كشفت دراسة أجرتها مجموعة هاودن للتأمين أن الإصابات التي تعرض لها لاعبي يوفنتوس الموسم الماضي كلفت النادي أكثر من 20 مليون يورو، ووفقاً للت...
-
يلتقى فريق ألانيا سبور التركي المحترف ضمن صفوفه المهاجم المصرى أحمد حسن كوكا، مع ضيفه غازي عنتاب مساء اليوم السبت في الدوري التركي بالموسم...
-
To Order click here only 10 USD Pro InfoPath 2007 is an excellent book for developers trying to learn the scope and range of application...
-
SWOT Analysis A scan of the internal and external environment is an important part of the strategic planning process. Environmental...
No comments:
Post a Comment