Re: DoCmd.RunCommand acCmdFind Help

  • Thread starter Thread starter Allen Browne
  • Start date Start date
A

Allen Browne

If you run this command in the Click event of a command button on your form,
then the *button* has focus. Naturally Access cannot search for data in the
button. You need to set focus to the text box you need to search if you want
that option.

Example:
Me.Surname.SetFocus
DoCmd.RunCommand acCmdFind
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top