473,473 Members | 1,955 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Audit Trail For Access DB?

I'm trying to find a way to create a logfile or audit trail of changes
we make to selected databases. So if someone changes "David" to "Dave"
I want to log what the change was and date it was made. I found an
example script of this when doing a Google general search, but I
couldn't get the script to work correctly so thought I'd try here.

Thanks,
Darrell

Mar 1 '06 #1
4 3550
Not sure why I posted this before searching the group. I see some
other posts on this topic. i too was looking for a plug n play type
thing or a prewritten script. Based on what I see here, looks like
some development is involved in doing this. I'm not a developer though
so, unless I missed something, I may have to skip it for now??

Mar 1 '06 #2
AllenBrowne.com has some items about doing an audit trail, look there.
:) tom

You can also put in a 'LastUpdated' field and have it set to Now()
everytime the form changes, I think it would go in the form's
AfterUpdate event, someone else has stated that this would work.

Tom

Mar 2 '06 #3
Try this from Allen Browne's site
(http://allenbrowne.com/AppAudit.html) - follow the guide/instructions
and you should have something you're looking for.
I mention this because I used it within a database to discover that a
User was doing allsorts of things which they claimed they weren't!!

Hope it helps - but if you're a bit stuck or need guidance shout back
to the group.

Cheers

Phil
ve***@aol.com wrote:
Not sure why I posted this before searching the group. I see some
other posts on this topic. i too was looking for a plug n play type
thing or a prewritten script. Based on what I see here, looks like
some development is involved in doing this. I'm not a developer though
so, unless I missed something, I may have to skip it for now??


Mar 2 '06 #4
Last updated will work, but only if the update is made from a Form. If the
user updates a table from table view, or using a query, it won't be done
automatically.

Larry Linson
Microsoft Access MVP

"tlyczko" <tl*****@gmail.com> wrote in message
news:11**********************@j33g2000cwa.googlegr oups.com...
AllenBrowne.com has some items about doing an audit trail, look there.
:) tom

You can also put in a 'LastUpdated' field and have it set to Now()
everytime the form changes, I think it would go in the form's
AfterUpdate event, someone else has stated that this would work.

Tom

Mar 2 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Raphael Gluck | last post by:
Hi, Is it possible for one to program one's pages as such that when a database table is updated over the web, via a form, that an e-mail confirmation is sent to a specified address, notifying...
2
by: Keith | last post by:
Hi I am developing an ASP application which will interact with a SQL database. A requirement of the application is that there is a full audit trail of any modifications to data. I am...
3
by: Zlatko Matić | last post by:
Hello. I tried to implement audit trail, by making an audit trail table with the following fileds: TableName,FieldName,OldValue,NewValue,UpdateDate,type,UserName. Triggers on each table were...
5
by: alanknipmeyer | last post by:
Dear Sirs, Having previously used other SQL implementations I have grown used to having an audit trail to find when problems occured, the problem I am increasingly finding with Access is that...
13
by: Jim M | last post by:
I've been playing with Allen Browne's audit code and found it very useful. I need to track record insertions, deletions, and edits for several tables. I am planning to replace Access with Microsoft...
6
by: Parag | last post by:
Hello, I have been assigned the task to design the audit trail for the ASP.NET web application. I don't know what the best practices for such audit trails are. Our application one dedicated user...
6
by: philmgron | last post by:
Hello I have been hitting my head against the wall on this problem for a day now. I have a simple table that stores cities, on of the fields on the table is modified_by. I am trying to write the...
0
by: hary08 | last post by:
I have a module copied ftom this site, here it is: Option Compare Database Option Explicit Public Function AuditTrail() On Error GoTo Err_Audit_Trail 'ACC2000: How to Create an Audit...
3
by: hary08 | last post by:
im doing a database for Hospital Admission, I have a log in form which prompt user for a password. The source of log in is to look for the values in my Table tblEmployees and match user name and...
6
by: babamc4 | last post by:
I have a main form (mainformlung) with 5 subforms (followupacute, followuplate, biochemresults, haemresults and pftresults). I have copied Allen Browne's Audit Trail code (thanks to Allen Browne)...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.