Setting parameters for FindRecord

J

JackBuff

I have added a command button to find a record. I would like to change the
default value of the "Match" field to "anypart of the field".

How can I do this

Using the Command button wizard, here is my code:

Private Sub cmdFindRec_Click()
On Error GoTo Err_cmdFindRec_Click

Screen.PreviousControl.SetFocus
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70

Exit_cmdFindRec_Click:
Exit Sub

Err_cmdFindRec_Click:
MsgBox Err.Description
Resume Exit_cmdFindRec_Click

End Sub


Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top