View Full Version : DoCmd.DoMenuItem acFormBar, 3, 0, , acMenuVer70


bnw
12-24-2008, 03:54 AM
What do this line of code mean? :confused:

RuralGuy
12-24-2008, 05:47 AM
Here's the site I use to convert to the new RunCommand.
http://home.clara.net/tkwickenden/domenuitem.htm

Mike375
12-24-2008, 07:07 AM
This is a couple I have in A2003 from A95 conversion

DoCmd.DoMenuItem 0, 1, 3, 0, acMenuVer70 ' Form, Edit, Paste

DoCmd.DoMenuItem 0, 5, 4, 0, acMenuVer70 ' Form, Records, Save Record

They are macro actions converted to code.

I am not sure if it was A97 or A2000 when RunCommand replaced DoMenuItem.

The form (my bold) refers to the menu available from the tool bar when a form is open.

Because RuralGuy is older than me he has to refer to a site:D

RuralGuy
12-24-2008, 10:41 AM
It was all I could do to type as many letters as I did. :D