Solved

Databases

Posted on 2014-01-31
4
156 Views
Last Modified: 2014-02-02
Hello,

How do I track changes logged in my dynamic table in Access. in this table some fields are updated with latest values. However, I want to track this field- changes in a log within a database.

Is it possible to make a query or some script that will keep alog of these values over time?

Thank you.
0
Comment
Question by:lynmke
  • 2
4 Comments
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 39824073
Depends on how you are doing the changes, and what version of Access you are using?

Are you making these changes in a form, or via a query?

If using a form, Allen Browne has a great set of Audit Log code you can use for your purposes

What version of Access are you using?  Access 2007 and earlier have no table based "triggers", but Access 2010 institutes "data macros" which provide a mechanism to do this type of thing.
0
 
LVL 4

Expert Comment

by:Jack Leach
ID: 39824111
If you're using 2010 or newer, you can make use of the Data Macros to handle this at a table level (auditing, theoretically, should always be done at the database engine level, but before Access 2010 we had no way to do so).

Cheers,
-jack
0
 

Author Comment

by:lynmke
ID: 39826442
Thanks Jack,

I am using Access 2010, however, the updates will be sent inform of excel spreadsheets, which I can import and use an update query.  I'll check the data macros first.

One other thing, I have lookup tables as well which may change. CAn the data macros log changes across these tables?
0
 
LVL 4

Accepted Solution

by:
Jack Leach earned 500 total points
ID: 39826740
Data Macros can interact with other tables in the same BE as the table to which they're attached, yes.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A list of useful business intelligence software.
All of the resources available today make learning a new digital media easier than ever-- if you know where to begin. This is a clear, simple guide to a few of the basic digital art mediums and how to begin learning them on your own.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question