Ian Stuart
New member
- Local time
- Today, 03:11
- Joined
- Aug 27, 2003
- Messages
- 6
I am using the following code to find a record on a form:
Me.txtFindString.SetFocus
If IsNull(Me.txtFindString) Then
MsgBox "Please enter a search string", vbOKOnly
Else
DoCmd.FindRecord Me.txtFindString, acAnywhere, , acSearchAll, , acAll, True
End If
and get the following error:
"A macro set to one of the current field's properties failed because of an error in a FindRecord action argument."
Any ideas?... I don't have any macros
Me.txtFindString.SetFocus
If IsNull(Me.txtFindString) Then
MsgBox "Please enter a search string", vbOKOnly
Else
DoCmd.FindRecord Me.txtFindString, acAnywhere, , acSearchAll, , acAll, True
End If
and get the following error:
"A macro set to one of the current field's properties failed because of an error in a FindRecord action argument."
Any ideas?... I don't have any macros