Solved

Databases

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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

809 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