I have tried many ways and still cant get this to work.
I tried this and not sure what "myControl" (DoCmd.GotoControl "myControl") represents??
Is it my field value?
DoCmd.GotoControl "Me.cust_id"
I tried this and it still didnt work.
I tried the onExit on the...
I now get the message to "Please fill in an cust id." but after that it exits out of my subform and doesnt go back to the OM ID like it should. Please advise if I have a problem with SetFocus or anything else I am missing.
Private Sub Form_BeforeUpdate(Cancel As Integer)
Dim...
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:
Dim Response As String
If (Me![cust_id]) == 0 Then
Cancel = True
Response = MsgBox("Please fill in a cust id.")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.