Solved

Databases

Posted on 2014-01-31
4
158 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.

733 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