Heenan, Lambert
Lambert.Heenan at chartisinsurance.com
Mon Dec 21 12:48:14 CST 2009
IIRC, the DoMenuItem method used the position of the menu items to select an action. So '5' would be the fifth item in the Records Menu, which seems to be the command to save the current record. The Access 2003 on-line help discusses the DoMenuItem Method. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, December 21, 2009 1:32 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] List of Constants Dear List: Does anyone know where there is a list of constants and what they refer to? In a legacy app I find the following: DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70 but can't find out what command 5 is. MTIA Rocky