F
Frank
I'm trying to figure out how I can automatically populate
a date (modified) field when a record has been updated.
I have a form/table that has a Modified_Date field. I
also have the following VB script (Before Update):
Private Sub Form_BeforeUpdate(Cancel As Integer)
If vbNo = MsgBox("Are you sure you want to make these
changes?", _
vbQuestion + vbYesNo + vbDefaultButton2, "Confirm
Changes") Then
Cancel = True
Me.Undo
End If
End Sub
So the end result that I am looking for is that if the
record is saved after update, to automatically change the
Modified_Date field with Date().
I thank you in advance.
Frank
a date (modified) field when a record has been updated.
I have a form/table that has a Modified_Date field. I
also have the following VB script (Before Update):
Private Sub Form_BeforeUpdate(Cancel As Integer)
If vbNo = MsgBox("Are you sure you want to make these
changes?", _
vbQuestion + vbYesNo + vbDefaultButton2, "Confirm
Changes") Then
Cancel = True
Me.Undo
End If
End Sub
So the end result that I am looking for is that if the
record is saved after update, to automatically change the
Modified_Date field with Date().
I thank you in advance.
Frank