How can a field be coded in VB to return a valued based on the values in another field.
I need it to occur when the form is loaded and not by trigering an event like DBlclick etc.
This is the code that I used but with no success:
Private Sub Text19_Enter()
If Hours.Value = "" Then
Text19.Value = "Error"
End If
End Sub
I need it to occur when the form is loaded and not by trigering an event like DBlclick etc.
This is the code that I used but with no success:
Private Sub Text19_Enter()
If Hours.Value = "" Then
Text19.Value = "Error"
End If
End Sub