Is there a shortcut for Microsoft Access Query Editor to execute the SQL? This clicking drives me mad.
Not exactly a hot key combo, you have to press each key in sequence:
Alt, H, W, H to switch to table view
Alt, H, W, D to switch to design view
If you right click on the ribbon's button to switch to different views (design, table, sql, etc) you can add the button to the quick access bar. With that done you can then press Alt+# (where # is the number for whatever position the button is on the quick access bar).
Newer Office applications support common keyboard shortcuts from earlier versions, so in the Access query builder we can use Alt+V, D for Design view, Alt+V, S for dataSheet view, and Alt+V, Q for sQl view.
To run an action query (e.g., UPDATE, DELETE) Alt+Q, R (for Query > Run) works too.
(Tested in Access 2010 and 2013; probably works in Access 2007 as well.)
Ctrl + . from query design to datasheet
Ctrl + , from datasheet to query design
Mnemonically, it helps that these are keys for >
and <
:
Ctrl + > from query design to datasheet
Ctrl + < from datasheet to query design
I didn't show them that way above because that would suggest you also press the Shift
key.
These commands cycle through various views, including pivots. I'm not interested in Access' pivot feature and I don't wish to accidently launch it, so that might be reason to use one of the other methods.
Not exactly a hot key combo, you have to press each key in sequence:
Alt, H, W, H to switch to table view
Alt, H, W, D to switch to design view
If you right click on the ribbon's button to switch to different views (design, table, sql, etc) you can add the button to the quick access bar. With that done you can then press Alt+# (where # is the number for whatever position the button is on the quick access bar).
To run a query in access 2013 here is the keyboard shortcuts
F10, J, Q, G
Try it yourself.
Alt
(or F10
), then JQ
, then F
. Once you hit Alt
(or F10
), available possibilities will light up. –
Marriageable Here's a great shortcut for any of you who customize your toolbar. For most of you Millenials out there, your toolbar is the little group of three buttons at the top left of your Access window that has never made much sense to you... :o) It's a real time saver if you figure out how to use it.
Add the RUN button to the far left of your toolbar. Now - ALT then 1 (not ALT+1) will run your query. Press these buttons one after the other, unlike a CTRL shortcut.
Gig 'Em
I just made this AutoHotKey script that will take you straight to the SQL Editor view in Access.
Access 2016:
f8::
SetKeyDelay 100
Send {Alt}cqd!c{Alt}{Left 4}{Down}{Enter}{Alt}{Right 4}{Alt}^{F10}
Return
Access 2010:
f8::
SetKeyDelay 100
Send {Alt}cqd!c{Alt}{Left 4}{Down}{Enter 2}{Alt}{Right 4}{Alt}^{F10}
Return
Instructions:
- Download and install AutoHotKey.
- Create a text file named
whatever.ahk
and copy the above script into it. Save. - Double-click the file. This won't execute the script, but will load AHK into memory.
- Open your Access database.
- Hit the F8 key and the script will run, and land you in the SQL Editor.
Note #1: You don't need to double-click the file each time - once it's running it will keep running until you close it. You can see the icon in your system tray. All you have to do is hit F8 each time you want to open the SQL Editor.
Note #2: You can substitute F8 with any key/combo of your choice, just be careful not to collide with existing keyboard shortcuts. F8 doesn't seem to do anything in Access (natively) so it works great. I got so sick of clicking my mouse 10X all over Access every time I wanted to open SQL Editor -- you'll love this!
© 2022 - 2024 — McMap. All rights reserved.