Command Find

S

Simon

In a button of a form I include the following order:

"DoCmd.DoMenuItem acFormBar, acEditMenu,10,,acMenuVer70"

How should I know when the user clicks on "Next", "Cancel" or "x" ?

N.B.: I use Access 2007
 
B

BruceM via AccessMonster.com

RunCommand would be better than DoMenuItem, which was replaced with
RunCommand in Access 95 or 97, I think. Here is a conversion list:

http://www.accessruncommand.com/domenuitem.htm

I think the code you posted is Find, but I don't understand the question
about the user clicking Next, Cancel, or X.
 

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

Similar Threads


Top