Not true, PuppyDogBuddy! Syntax such as
- DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
is still supported in Access 2000 and is, in fact, still used for all Wizard created command buttons. Having said that, I agree it should be avoided when possible.
[font=Times New Roman][size=3]You are correct with regards to VBA procedures. It applies to macros (see below). Sorry for the confusion.[/size][/font]
[size=3][font=Times New Roman] [/font][/size]
[font=Times New Roman][size=3]From Access on-line Help:[/size][/font]
[size=3][font=Times New Roman]
The DoMenuItem Action[/font][/size]
[font=Times New Roman][size=3]The DoMenuItem action is no longer used in Microsoft Access 2000. The new [/size][/font]
[font=Times New Roman][size=3][color=#0000ff]RunCommand[/color][/size][/font][size=3][font=Times New Roman] action can be used to accomplish the tasks for which you used to use the DoMenuItem action.[/font][/size]
[font=Times New Roman][size=3]When you [/size][/font]
[font=Times New Roman][size=3][color=#0000ff]enable[/color][/size][/font][size=3][font=Times New Roman] a database created with a prior version of Microsoft Access, the DoMenuItem action will continue to work as it did before.[/font][/size]
[font='Times New Roman']When you convert a database created with a prior version of Microsoft Access, all DoMenuItem actions in macros are replaced with RunCommand actions the first time that the macros are saved after conversion. DoMenuItem methods used in Visual Basic procedures aren't changed.[/font]