G
Guest
Access makes if very easy to add a button to a form to find a record, but the
default is to match the "Whole Field". I would like to know how to configure
the "Find" form that pops up to default to match "Any Part of Field". Here
is the code that the wizard generates for the button:
Private Sub cmdFindSAR_Click()
On Error GoTo Err_cmdFindSAR_Click
Screen.PreviousControl.SetFocus
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70
Exit_cmdFindSAR_Click:
Exit Sub
Err_cmdFindSAR_Click:
MsgBox Err.Description
Resume Exit_cmdFindSAR_Click
End Sub
I appreciate any help you can give me.
Judy
default is to match the "Whole Field". I would like to know how to configure
the "Find" form that pops up to default to match "Any Part of Field". Here
is the code that the wizard generates for the button:
Private Sub cmdFindSAR_Click()
On Error GoTo Err_cmdFindSAR_Click
Screen.PreviousControl.SetFocus
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70
Exit_cmdFindSAR_Click:
Exit Sub
Err_cmdFindSAR_Click:
MsgBox Err.Description
Resume Exit_cmdFindSAR_Click
End Sub
I appreciate any help you can give me.
Judy