DoMenuItem...replacement codes.

  • Thread starter Thread starter Steven Wong
  • Start date Start date
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.
 
Back
Top