Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Databases

Posted on 2014-01-31
4
Medium Priority
?
170 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 48

Expert Comment

by:Dale Fye
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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

597 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