Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 12th, 2004, 04:37 PM
lxu lxu is offline
Authorized User
 
Join Date: Oct 2003
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default Which event(s) should be used to capture changes

Please help me on the following:

The value shown in a field of a subform is bounded with a table column (not primary key). After the value is changed on the subform, I need to give a warning message based on the difference of the two strings. Which event should be used here to capture both the old and new values? I tried to use After Update Event and got the new value.

Thanks in advance,

lxu

 
Old April 13th, 2004, 07:48 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

The Before Update event should get the value before the changes are made. Have you tried that?


Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
 
Old April 14th, 2004, 09:14 AM
lxu lxu is offline
Authorized User
 
Join Date: Oct 2003
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks. It works.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Event - Sender & Event args dash dev C# 2005 9 December 9th, 2007 07:24 AM
capture return key in keydown event kawak_zx7 .NET Framework 1.x 1 April 23rd, 2007 11:21 AM
how to capture right click event of datagrid cell swati_joshi ASP.NET 1.0 and 1.1 Professional 2 April 19th, 2006 02:18 AM
how to capture right click event of datagrid cell swati_joshi ASP.NET 1.0 and 1.1 Basics 0 April 18th, 2006 01:51 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.