Solved

Access 2010 record change event

Posted on 2013-01-17
6
842 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
Independent Software Vendors: 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!

 
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

729 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