[AccessD] List of Constants

Rocky Smolin rockysmolin at bchacc.com
Mon Dec 21 19:59:06 CST 2009


Sounds like I ought to replace the DoMenuItem with RunCommand throughout.
Yes?

R 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert
Sent: Monday, December 21, 2009 1:29 PM
To: 'Access Developers discussion and problem solving'
Subject: Re: [AccessD] List of Constants

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

--
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