T
Turbine Mechanic
I built a database for our MSDS program were I work. One of the features that
the employees don't like is when they open the "Find and Replace" dialog box.
The search parameter defaults to "Whole Field". I would like it to default to
"Any Part Of Field" so they can search for any part of the name of an MSDS
file. Is there any code to make it default to "Any Part Of Field"? Below is
the code for this "Search"
Thanks,
Dave
Private Sub Search_Click()
On Error GoTo Err_Search_Click
Screen.PreviousControl.SetFocus
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70
Exit_Search_Click:
Exit Sub
Err_Search_Click:
MsgBox Err.Description
Resume Exit_Search_Click
End Sub
the employees don't like is when they open the "Find and Replace" dialog box.
The search parameter defaults to "Whole Field". I would like it to default to
"Any Part Of Field" so they can search for any part of the name of an MSDS
file. Is there any code to make it default to "Any Part Of Field"? Below is
the code for this "Search"
Thanks,
Dave
Private Sub Search_Click()
On Error GoTo Err_Search_Click
Screen.PreviousControl.SetFocus
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70
Exit_Search_Click:
Exit Sub
Err_Search_Click:
MsgBox Err.Description
Resume Exit_Search_Click
End Sub