E
Elwin
Without confusing the matter too much, 'Me' is a reference
to the class module's object (the form). 'Dirty' is a
property of the object that returns True if any of the
field values change. When the dirty property is set to
true, the form also fires its OnDirty() event. I'd
suggest that you use the form's OnDirty() event since its
been provided to do exactly what you're trying to
accomplish. Good Luck.
Private Sub Form_Dirty(Cancel As Integer)
Me!Effdt= Now()
End Sub
to the class module's object (the form). 'Dirty' is a
property of the object that returns True if any of the
field values change. When the dirty property is set to
true, the form also fires its OnDirty() event. I'd
suggest that you use the form's OnDirty() event since its
been provided to do exactly what you're trying to
accomplish. Good Luck.
Private Sub Form_Dirty(Cancel As Integer)
Me!Effdt= Now()
End Sub