Hii,
How can keep track on the number of changes done to a record in field "change_no".
Is it ok to used below code for audit... In the form & table i created fields modify_date, modify_by, create_by, create_date which are being populated.
Private Sub Form_BeforeUpdate(Cancel As Integer)
Me.modify_date = Now()
Me.modify_by = Environ("USERNAME")
End Sub
Private Sub Form_Current()
If Me.NewRecord Then
Me.create_by = Environ("USERNAME")
Me.create_date = Now()
End If
End Sub