J
Jorge Ramos
Hello all,
I created the following sub to set values on three different fields from a
data entry form. The sub works well but only for the first line, which
assigns the current date and time to the [DatabaseTimestamp] field. The
other two does not seem to work. Would you let me know what is wrong with
the following code?:
Private Sub Form_BeforeUpdate(Cancel As Integer)
DatabaseTimestamp = Now()
FirstOrSecond = 2
UserNameIs = fOSUserName()
BeforeUpdate_End:
Exit Sub
End Sub
If it helps, Im running Access 2003 on Win XP
Thank you!!
I created the following sub to set values on three different fields from a
data entry form. The sub works well but only for the first line, which
assigns the current date and time to the [DatabaseTimestamp] field. The
other two does not seem to work. Would you let me know what is wrong with
the following code?:
Private Sub Form_BeforeUpdate(Cancel As Integer)
DatabaseTimestamp = Now()
FirstOrSecond = 2
UserNameIs = fOSUserName()
BeforeUpdate_End:
Exit Sub
End Sub
If it helps, Im running Access 2003 on Win XP
Thank you!!