Help with a search routine.

Takashi

New member
Local time
Today, 11:25
Joined
Jan 19, 2001
Messages
9
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?
 
Place this line before the DoCmd.DoMenuItem...
line:

SendKeys "{tab}{tab}a{tab}{tab}{tab}"
 
Exactly what I needed. Thank you very much.
 

Users who are viewing this thread

Back
Top Bottom