Solved

Access 2010 record change event

Posted on 2013-01-17
6
838 Views
Last Modified: 2013-01-17
Hi

I am using Access 2010 (continuous form)

What is the best way to catch a record change (record was pre-existing).

I would like to trap only events where the existing record actually  changed in some way.

Thanks
0
Comment
Question by:peispud
[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
  • 2
  • 2
6 Comments
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 38788515
look for On Dirty event of the form from help
0
 

Author Comment

by:peispud
ID: 38788538
The On Dirty event  gets triggered even if the user exits without changing the data.  For example,  if the user hits the escape key or undo button,  the OnDirty event still triggers.
0
 
LVL 75
ID: 38788558
Use the Form Dirty event.  This event will trigger as soon as any Bound control value is changed in either a New or existing record.

dirty
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 75
ID: 38788568
"The On Dirty event  gets triggered even if the user exits without changing the data. "
Actually it doesn't.  If this is, then something is wrong ... something else is going on.

mx
0
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 38788570
also, see sample codes from this link

How to create an audit trail of record changes in a form

http://support.microsoft.com/?kbid=197592
0
 

Author Closing Comment

by:peispud
ID: 38788799
Thank you
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
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.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

738 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