I have a form that contains a sub form. The "Last_Update" field is automatically updated with the current date on the main form whenever I change info in a record. I did this by using the following code:
Private Sub Form_BeforeUpdate(Cancel As Integer)
LAST_UPDATE = Date
End Sub
Whenever I change info in the sub form, the "Last_Update" field on the main form is not updated. How can I get the "Last_Update" field to display the current date on the main form whenever I change info on the main form AND sub form? Thanks!
Private Sub Form_BeforeUpdate(Cancel As Integer)
LAST_UPDATE = Date
End Sub
Whenever I change info in the sub form, the "Last_Update" field on the main form is not updated. How can I get the "Last_Update" field to display the current date on the main form whenever I change info on the main form AND sub form? Thanks!