A
aMack
There are 2 data fields that i am trying to have populate with a time if null:
Private Sub DriverTimeLeg1_GotFocus()
If IsNull(Me.DriverTimeLeg1) Then
Me.DriverTimeLeg1 = Time
Cancel = True
End If
End Sub
This works!
I have a second field [DriverTimeLeg2] but the "Gotfocus" will not accept
the code.
Both are Formatted as "Short Time"
When entering the Code editor the second field shows up as:
Private Sub Text215_GotFocus()
Any Ideas?
Private Sub DriverTimeLeg1_GotFocus()
If IsNull(Me.DriverTimeLeg1) Then
Me.DriverTimeLeg1 = Time
Cancel = True
End If
End Sub
This works!
I have a second field [DriverTimeLeg2] but the "Gotfocus" will not accept
the code.
Both are Formatted as "Short Time"
When entering the Code editor the second field shows up as:
Private Sub Text215_GotFocus()
Any Ideas?