Results 1 to 6 of 6
  1. #1
    orcinus is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Apr 2010
    Posts
    67

    Short Cut Keys To Run Query

    Besides using:



    alt+v s

    To run a query without using the mouse, is there any other shortcut keys that can be used?

    Thanks for any help..

  2. #2
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    You can create an AutoKeys macro which then can be defined to do whatever you want to do (subject to not duplicating some system key combinations I believe).

  3. #3
    orcinus is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Apr 2010
    Posts
    67
    Quote Originally Posted by boblarson View Post
    You can create an AutoKeys macro which then can be defined to do whatever you want to do (subject to not duplicating some system key combinations I believe).
    So, I know how to create an autokeys macro, but want to be able to open any query from design view, not a specific query. However using the macro command OpenQuery requires entry of a specific query and so does DcCmd in VB.

    Or is there a way to bypass this by, in affect, entering a wildcard for the query name argument (I know asterix won't work - I tried it)..

    Thanks..

  4. #4
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    Quote Originally Posted by orcinus View Post
    So, I know how to create an autokeys macro, but want to be able to open any query from design view, not a specific query. However using the macro command OpenQuery requires entry of a specific query and so does DcCmd in VB.

    Or is there a way to bypass this by, in affect, entering a wildcard for the query name argument (I know asterix won't work - I tried it)..

    Thanks..
    I've do not know of a way to actually do that.

  5. #5
    orcinus is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Apr 2010
    Posts
    67
    Quote Originally Posted by boblarson View Post
    I've do not know of a way to actually do that.
    ok, so I found a way to do this using SENDKEYS

    In the AUTOKEYS macro, you add what you want to be the shortcut, say:

    ^s

    and in the Action column, you choose SENDKEYS and include the following (for running a query):

    %v s

    For going back into design mode:

    %v d

    It looks as if whatever you choose for this will overide what already exists as default shortcuts in ACCESS. I chose CTRL+S and CTRL+D because I never use those shortcuts.

    Thanks for your help!

  6. #6
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    Just an FYI but you will probably end up with a problem once you either go to Vista or Windows 7.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Tab or Enter keys
    By rwatkins in forum Forms
    Replies: 3
    Last Post: 05-11-2011, 03:22 PM
  2. Query using the same primary keys.
    By Franuzz in forum Queries
    Replies: 1
    Last Post: 04-11-2011, 11:27 AM
  3. Short date comparison
    By andy101 in forum Programming
    Replies: 2
    Last Post: 03-17-2011, 04:36 AM
  4. Multiple primary keys
    By elektrisk in forum Access
    Replies: 5
    Last Post: 02-11-2010, 04:39 PM
  5. CTRL +' Short Cut Key
    By desireemm1 in forum Access
    Replies: 2
    Last Post: 09-10-2009, 03:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums