Hi there!
I have several forms and want to capture some data as an audit trail of when a change was made to a record. The following works in one of my forms:
Private Sub Form_BeforeUpdate(Cancel As Integer)
Me.DateEdited = Now()
End Sub
Very simple and works beautifully.
But the form where I have an tab control it doesn’t work. I tried using a reference to the table, such as: Me.t_Clients.DateEdited = Now()
and get the following Visual Basic error:
Compile error – method or data member not found.
Compiling gives me the same error.
Does anyone know what am I doing wrong?
Thank you!!