View Full Version : Help with a search routine.


Takashi
11-02-2001, 10:36 AM
I already have a crude search setup in my DB using the Access Wizard. It produced the following code:

DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70

This canned 'find and replace' dialog defaults to match 'Whole Field'. Is there a way to tweak it so the value defaults to 'Any part of field', since this is that the users will utiulize most often?

ott
11-02-2001, 10:47 AM
Place this line before the DoCmd.DoMenuItem...
line:

SendKeys "{tab}{tab}a{tab}{tab}{tab}"

Takashi
11-02-2001, 11:03 AM
Exactly what I needed. Thank you very much.