C
CRC
I am trying to use the setValue function to have a button command to capture
the current time for the field name RunStartTime bound to the Form. Can
anyone tell why what I have coded is not working.
--------Here is the code-------------------------------------------
Private Sub GetTime_Click()
On Error GoTo GetTime_Click_Err
' Capture current time for Run Start Time.
Forms![TestStation]!RunStartTime.BeforeUpdate = Time()
GetTime_Click_Exit:
Exit Sub
GetTime_Click_Err:
MsgBox Error$
Resume GetTime_Click_Exit
End Sub
---------------------------------------------------
the current time for the field name RunStartTime bound to the Form. Can
anyone tell why what I have coded is not working.
--------Here is the code-------------------------------------------
Private Sub GetTime_Click()
On Error GoTo GetTime_Click_Err
' Capture current time for Run Start Time.
Forms![TestStation]!RunStartTime.BeforeUpdate = Time()
GetTime_Click_Exit:
Exit Sub
GetTime_Click_Err:
MsgBox Error$
Resume GetTime_Click_Exit
End Sub
---------------------------------------------------