DoMenuItem Code Question

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
 
A

Andrew Glennie

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
 
S

Stuart McCall

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?).
 
A

Andrew Glennie

All converted:)

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

Thanks again

Andrew
 

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

Top