problem with code - runcommand

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What is wrong with code? I just converted Access 97 to 2002 version and getting debug error on this line of code below. I change my DoMenuItem to RunCommand.
Do I have to change the ac codes to acCommand. Can someone out there give me the right code to make my code below with RunCommand? TIA

DoCmd.RunCommand acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70

Irine F
 
You are using the newer RunCommand command with the syntax for the older
DoMenuItem command.
 
Back
Top