DBL
Registered User.
- Local time
- Today, 23:20
- Joined
- Feb 20, 2002
- Messages
- 659
On the on exit event of a combo box in a continuous subform I have the following:
If IsNull(Me.cboSelectClient) Or Me.cboSelectClient = 0 Then
Forms![frmanimalinfo]![AName].SetFocus
'End If
End If
so that if the combo box is empty, it bounces back to the main form. However when I go to a new record (through a command button) I get:
Error 2424: the expression you have entered has a field, control, or property name that Database can't find. It's choking on If IsNull(Me.cboSelectClient) Or Me.cboSelectClient = 0 Then
Any ideas why?
If IsNull(Me.cboSelectClient) Or Me.cboSelectClient = 0 Then
Forms![frmanimalinfo]![AName].SetFocus
'End If
End If
so that if the combo box is empty, it bounces back to the main form. However when I go to a new record (through a command button) I get:
Error 2424: the expression you have entered has a field, control, or property name that Database can't find. It's choking on If IsNull(Me.cboSelectClient) Or Me.cboSelectClient = 0 Then
Any ideas why?