Run code each time the record changes

  • Thread starter Thread starter Dustin I.
  • Start date Start date
D

Dustin I.

Can anyone tell me how to run code each time the record
changes on a form? Maybe a form event that would execute
everytime I go forward or backword in a recordset.

Thanks
 
Dustin said:
Can anyone tell me how to run code each time the record
changes on a form? Maybe a form event that would execute
everytime I go forward or backword in a recordset.

Thanks
It all depends upon what you want to do. Look at using Me.Dirty in the
BeforeUpdate, AfterUpdate, BeforeInsert, AfterInsert events at the form
level.

If Me.Dirty
Do something
EndIf


Ron
 
Back
Top