Solved

Databases

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

726 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