Solved

Access 2010 record change event

Posted on 2013-01-17
6
823 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
  • 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

772 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