Changing MSAccess "Find" options

J

John Baker

I have an Access97 database and have a button on the form to open the
MSAccess Find dialog form.
I use the following code:

DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70

Is there any way in which I can have the Find dialog open with the "Match"
cbo box open with "Any Part of Field" rather than the default of "Whole
Field"

Any help greatly appreciated

John B.
 
A

Allen Browne

Hi John.

Try setting:
Tools | Options | Edit/Find | Default Find/Replace Behavior

To set it programmatically:
SetOption("Default Find/Replace Behavior",2)
 

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

Similar Threads

Find & Replace Box default find 1
Error 2237 8
aceditmenu option to match any part of the field 4
SetFocus Problems 2
vba coding 4
acEditMenu help 1
Modify Search Button by using ComboBox 1
Comand Button 2

Top