Ask Experts Questions for FREE Help !
Ask
    znet2705zc's Avatar
    znet2705zc Posts: 34, Reputation: 1
    Junior Member
     
    #1

    Mar 19, 2009, 01:16 PM
    Creating Autokey
    How can we create Autokey?
    For example , " F1 " open an special form or "F2" run a query
    StaticFX's Avatar
    StaticFX Posts: 943, Reputation: 74
    Senior Member
     
    #2

    Mar 19, 2009, 01:27 PM

    DO you mean a HotKey?

    I'm NOT sure you can do it... at least not with VBA

    Here is a list of all the HotKeys set for Access
    All hotkeys - Microsoft Access Hotkeys - Keyboard Shortcuts


    You best bet would be to create a form with buttons, and set the hotkeys for the buttons

    Example

    Create a button with the Text R&un Query

    (yes the & was on purpose)

    Now to trigger the Button you would hit ALT U

    Hope this helps.
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #3

    Mar 19, 2009, 04:13 PM

    You can do this by assigning a macro to a function key. You can also assign macros to special key combinations.

    And yes this is called hotkeys. Read up on macros in Access help for details on how to do this.
    StaticFX's Avatar
    StaticFX Posts: 943, Reputation: 74
    Senior Member
     
    #4

    Mar 20, 2009, 01:06 PM

    Macros! <Shudder>

    I blocked those out of my head.. lol.. I hate them

    But, good thinking. That will work
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #5

    Mar 20, 2009, 02:27 PM

    My sentiments exactly, but this is one place where macros have a place. If you want to use keyboard shortcuts to trigger code execution.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

How is she creating these? [ 3 Answers ]

Hi my name is Aly Kaee I have been getting into photography lately and I have recently been very inspired by a photographer named Rosie Hardy But I was wondering how does she do her photos? How does she do the background, Attach strings to birds, How does she get the textures in the sky,...

Creating new AD [ 2 Answers ]

I want to create a new AD with a new domain and new IP address for a small coporate environment. What are the best steps to choosing an IP address and creating a new AD with 1 single site?

Web creating [ 1 Answers ]

I want to have my own website ,I tried to have it ,but I can't get a free website creating address. Please, is there anyone who can help me?and can you tell me what I have to do step by steps?please it is serious. ...

Help creating a web site [ 6 Answers ]

My parents want to set up some web sites: one for my mothers artwork and another for my fathers archery but they want to do it for free. I am unsure of how to go about settting up one at all and they have put me in chargte of it! Please help, blusia:eek:

Creating a forum [ 16 Answers ]

HI, I'de like to create a forum for my new site. But but I don't know anything about it. Can someone hepl me? I only know the interface part. Thanks


View more questions Search