Hi,
I have a form that is running the following on close event when I get the runtime error 2465 for cannot find the field.
Here is the code I have:
Private Sub Form_Close()
If Me.STATUS = "COMPLETE" And Me.[CASE NO] Is Null Then
MsgBox "CASE NO IS REQUIRED IF THE ACCOUNT IS COMPLETE", vbCritical + vbOKOnly + vbDefaultButton2, "MISSING DATA"
Me.[CASE NO].SetFocus
Cancel = True
Exit Sub
End If
End Sub
I am new with sequel and any help would be appreciated.
Thanks.
I have a form that is running the following on close event when I get the runtime error 2465 for cannot find the field.
Here is the code I have:
Private Sub Form_Close()
If Me.STATUS = "COMPLETE" And Me.[CASE NO] Is Null Then
MsgBox "CASE NO IS REQUIRED IF THE ACCOUNT IS COMPLETE", vbCritical + vbOKOnly + vbDefaultButton2, "MISSING DATA"
Me.[CASE NO].SetFocus
Cancel = True
Exit Sub
End If
End Sub
I am new with sequel and any help would be appreciated.
Thanks.