DoMenuItem...replacement codes.

S

Steven Wong

Hi:

The DoMenuItem command no longer works in MS Access 2000.

In help menu, it is suggested to use the RunCommand method
instead.

I have a MS Access 97 database which needs to be converted
to MS Access 2000. What is the equivalent of the
following codes below?

stDocName = "frm1000_MainSwitchboard"
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, ,
acMenuVer70 'Saves the current record.

Thanks in advance.
 

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