Want to warn someone after they exit my form not to leave a field value with a the
number 0 in it. My attempt below is not working.
In my before update event:
[tt]
Dim Response As String
If (Me![cust_id]) == 0 Then
Cancel = True
Response = MsgBox("Please fill in a cust id."
Me![cust_id].SetFocus
End If
[/tt]
number 0 in it. My attempt below is not working.
In my before update event:
[tt]
Dim Response As String
If (Me![cust_id]) == 0 Then
Cancel = True
Response = MsgBox("Please fill in a cust id."
Me![cust_id].SetFocus
End If
[/tt]