G
Guest
I am trying to open the Find menu command from a button on a form. Normally
when the user goes to find using the menu the 'Look In' field of the dialog
box gives two choices. One is the actually control that is the focus the
other is the entire form. When I use my code it only shows one choice, which
is the control that I set the focus to. How do I set the Look In field to
either the entire form or have the two choices of either the form or the
control that has focus?
The code is below for the button:
Private Sub Search_Click()
Forms!CaseFilesv1.SetFocus
RunCommand acCmdFind
End Sub
when the user goes to find using the menu the 'Look In' field of the dialog
box gives two choices. One is the actually control that is the focus the
other is the entire form. When I use my code it only shows one choice, which
is the control that I set the focus to. How do I set the Look In field to
either the entire form or have the two choices of either the form or the
control that has focus?
The code is below for the button:
Private Sub Search_Click()
Forms!CaseFilesv1.SetFocus
RunCommand acCmdFind
End Sub