Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Monitor fields for changes

Status
Not open for further replies.

thefourthwall

IS-IT--Management
Feb 26, 2002
387
US
I need to have the field "Last Modified Date" update anytime information changes in another field on the same form for customer data - cell number, address, etc.

From searching threads I found thread 1490098 in which the After Update event of fields to be "monitored" has
Me.Parent.txtLastUpdate=Now() code written. My field is called txtDateLastModified, so the field referenced would be that and not txtLastUpdate

At least that's how I understood it; not using a subform, so the "Me.Parent" does not apply, but is it correct that putting Me.txtDateLastModified = Now() code behind the After Update event of a field will cause the date modified field to update if other fields' values are changed?
 
I'd use the BeforeUpdate event procedure of the Form ...

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Why is that, would you mind either explaining or pointing me to a resource that would indicate why? I just want to learn more about Access: the more I am able to do, the more I want to know - is that strange?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top