[AccessD] 2010 Version

Rocky Smolin rockysmolin at bchacc.com
Thu Apr 14 17:51:26 CDT 2011


Dunno. If it happened more than three weeks ago, it's gone from my cache.

But, law of averages says, I got it from this list.

R 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee
Sent: Thursday, April 14, 2011 2:55 PM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] 2010 Version

That's some cool code, Rocky. Where'd you get it ;P


Actually, you can probably try:
If Application.Version >= 12 Then DoCmd.ShowToolbar "Ribbon", acToolbarNo



On Thu, Apr 14, 2011 at 2:35 PM, Rocky Smolin <rockysmolin at bchacc.com>wrote:

> Dear List:
>
> In my code I test for Access 2007 and turn off the ribbon if it's 2007
> using:
>
> If Application.Version = 12 Then DoCmd.ShowToolbar "Ribbon", 
> acToolbarNo
>
> If I want to check for 2010, what version number should I use?
>
> MTIA
>
>
> Rocky Smolin
>
> Beach Access Software
>
> 858-259-4334
>
> Skype: rocky.smolin
>
> www.e-z-mrp.com <http://www.e-z-mrp.com/>
>
> www.bchacc.com <http://www.bchacc.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