B
brerrabbit315
I am trying to get Access to open the find dialog box in a form using a
command button on an application that will be housed on a shared drive for
other users to access. But I want the Find dialog box to search the current
field only, and not all fields. I attempted to use the following code, as
referenced on Microsofts web site, but it still does not limit the search to
the current field. It searches all of the fields, which I do not want?
Private Sub searchunit_Click()
Unit.SetFocus
SendKeys "%ha%e"
DoCmd.RunCommand acCmdFind
End Sub
Any suggestions?
command button on an application that will be housed on a shared drive for
other users to access. But I want the Find dialog box to search the current
field only, and not all fields. I attempted to use the following code, as
referenced on Microsofts web site, but it still does not limit the search to
the current field. It searches all of the fields, which I do not want?
Private Sub searchunit_Click()
Unit.SetFocus
SendKeys "%ha%e"
DoCmd.RunCommand acCmdFind
End Sub
Any suggestions?