DoMenuItem Code Question

  • Thread starter Thread starter Andrew Glennie
  • Start date Start date
A

Andrew Glennie

Hi All,

Trying to find out what the following actually does?

DoCmd.DoMenuItem acFormBar, 3, 0, , acMenuVer70

I have seen several posts all over the place but all have the point where
the 3 is replaced by an actual menu name.

TIA

Andrew
 
Thanks Stuart.

I'm guessing the code is the statement Record, Add New.

The msdn page indicates that the 3 should refer to up to 3 menus (numbering
starting at 0), so I can only assume that if the first number (the 3 in my
case) is greater than the number of menus available, it will default to the
last menu available.

Regards

Andrew
 
Andrew Glennie said:
Thanks Stuart.

I'm guessing the code is the statement Record, Add New.

The msdn page indicates that the 3 should refer to up to 3 menus
(numbering
starting at 0), so I can only assume that if the first number (the 3 in my
case) is greater than the number of menus available, it will default to
the
last menu available.

Regards

Andrew

That's how it looked to me. Good luck converting (have you googled to see if
anyone's already done this?).
 
All converted:-)

Googling was helpful up to a point - none of the answers were as good as the
msdn page.

Thanks again

Andrew
 
Back
Top