[AccessD] SPAM-LOW: Re: List of Constants

jwcolby jwcolby at colbyconsulting.com
Mon Dec 21 15:39:24 CST 2009


Yes, and yet those same things are still created by the macros.  Just an example of how something 
can inextricably embed itself in an application.

John W. Colby
www.ColbyConsulting.com


Heenan, Lambert wrote:
> Exactly. The first time I read the documentation for DoMenuItem I thought, "well that's dumb, because users can edit menus in Office applications." I suppose that it why DoMenuItem was deprecated and replaced with RunCommand.
> 
> Lambert 
> 
> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust
> Sent: Monday, December 21, 2009 4:07 PM
> To: Access Developers discussion and problem solving
> Subject: Re: [AccessD] List of Constants
> 
> Oh, that's what they were, John.  Problem is, the menus changed over time and the indexes didn't match the view any longer.   They still worked, they just didn't match the menus in the later versions of Access.
> 
> Charlotte Foust
> 
> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby
> Sent: Monday, December 21, 2009 12:01 PM
> To: Access Developers discussion and problem solving
> Subject: Re: [AccessD] List of Constants
> 
> AKA "Magic Numbers", so called because you have to be a member of the priesthood (or develop the
> app) to have a clue.
> 
> IIRC that is an index into that menu (5th item down) but I could quite easily be wrong on that one.
> 
> John W. Colby
> www.ColbyConsulting.com
> 
> 
> Rocky Smolin wrote:
>> 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
>>
>>  
>>
>>
>>
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> 
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> 



More information about the AccessD mailing list