Arthur Fuller
fuller.artful at gmail.com
Fri Dec 13 09:19:21 CST 2013
Thanks, Dan. Much appreciated. Arthur On Fri, Dec 13, 2013 at 10:15 AM, Dan Waters <df.waters at comcast.net> wrote: > Hi Arthur, > > Yes! > > What you do is set up a /cmd parameter at the end of the shortcut's target > field. Something like: /cmd NoAutoRun The NoAutoRun parameter will pass > into your app as a string value, but don't enclose it with apostrophes in > the shortcut's Target field. > > Then, when your code runs automatically on startup, you can use that > parameter to branch your code. > > Like this: > > If Command() = "NoAutoRun" then > Exit Sub '-- code stops running > Else > Call NormalStartupRoutine > End If > > > Good Luck! > Dan > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Friday, December 13, 2013 4:17 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Open an app with shift-key down > > Is there a way to create a shortcut to an Access app that will be the > equivalent of opening it with the shift-key down? I frequently forget to do > that. It's not a big deal, I just exit and then re-enter, holding the key > down, but it happens often enough that it got me wondering. > > -- > Arthur > -- > 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 > -- Arthur