Customizing Find and Replace

crhodus

Registered User.
Local time
Today, 04:41
Joined
Mar 16, 2001
Messages
257
I used the Command Button Wizard to create a button that calls the Find Record window. Is there anyway to modify the vb code so that the default for the Match options is set to "Any Part of Field"?

Also if it is possible, I would like for the Replace tab to be removed or disables.

Thanks!

Here is the line of code the wizard generated:

Private Sub RUN_A_SEARCH_BUTTON_Click()
On Error GoTo Err_RUN_A_SEARCH_BUTTON_Click


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

Exit_RUN_A_SEARCH_BUTTON_Click:
Exit Sub
 
If you work with A2k, in the option menu you will find a place where you can customize a few parameters of the find function.

Alex
 

Users who are viewing this thread

Back
Top Bottom