<p>Is there a keyboard shortcut in Access 2003 that will run a query while in design or sql mode?</p>

[{'answer_id': 56773, 'author': 'Galwegian', 'author_id': 3201, 'author_profile': 'https://Stackoverflow.com/users/3201', 'pm_score': 2, 'selected': True, 'text': "<p>It's not built-in. I would try a macro - AutoKeys? You should be able to make almost any keyboard short you want that way.</p>\n"}, {'answer_id': 56809, 'author': 'Fionnuala', 'author_id': 2548, 'author_profile': 'https://Stackoverflow.com/users/2548', 'pm_score': 0, 'selected': False, 'text': '<p>Does Alt Q Alt R  (ie menu item selection) not suit?</p>\n'}, {'answer_id': 56921, 'author': 'Buggabill', 'author_id': 2106, 'author_profile': 'https://Stackoverflow.com/users/2106', 'pm_score': 1, 'selected': False, 'text': '<p>I used a combination of the answers writing a little function that is called from the AutoKeys macro like so:</p>\n\n<pre><code>Public Function RunMyQuery() As Boolean\n   SendKeys "%Q" &amp; "R"\n   RunMyQuery = True\nEnd Function\n</code></pre>\n\n<p>Thanks!</p>\n'}, {'answer_id': 66891, 'author': 'David-W-Fenton', 'author_id': 9787, 'author_profile': 'https://Stackoverflow.com/users/9787', 'pm_score': 2, 'selected': False, 'text': "<p>Sendkeys is always a mistake because almost nothing in Access not doable via code.</p>\n\n<p>The correct code is:</p>\n\n<pre><code>DoCmd.RunCommand acCmdRun \n</code></pre>\n\n<p>How you run that code is up to you, but it's definitely preferable to SendKeys.</p>\n"}, {'answer_id': 69339, 'author': 'Chris OC', 'author_id': 11041, 'author_profile': 'https://Stackoverflow.com/users/11041', 'pm_score': 1, 'selected': False, 'text': '<p>This function isn\'t built in, but you can set it up so you can press the <kbd>F5</kbd> function key to run the query.</p>\n\n<ol>\n<li>Create a new macro.</li>\n<li>Use the menu, View > Macro Names to add the "Macro Names" column to the grid if it\'s not already showing.</li>\n<li>Type this in the "Macro Names" column: {F5}</li>\n<li>In the "Action" column, scroll down and select "RunCommand."</li>\n<li>The bottom half of the window pane is "Action Arguments."  For "Command," scroll down and select "Run."</li>\n<li>Save the macro as AutoKeys.</li>\n<li>Close the macro.</li>\n<li>Open a saved query in design view or sql view.</li>\n<li>Press the function key, <kbd>F5</kbd>, to run the query.</li>\n</ol>\n'}, {'answer_id': 344771, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 1, 'selected': False, 'text': '<p><kbd>Ctrl</kbd>+<kbd>,</kbd> and <kbd>Ctrl</kbd>+<kbd>.</kbd> will let MS Access cycle left and right through the query views Design, Datasheet, SQL, PivotTable, PivotChart.</p>\n\n<p>Otherwise, you can right click on the "Run" exclamation mark and select customize, then with that customize window open, you can right click on the "Run" exclamation mark again, select "Image and Text" to show the word Run.  As long as the word is shown, you can use <kbd>Alt</kbd>+<kbd>Shift</kbd>+<kbd>R</kbd> to activate that button based on the underlined capital R.  If you right click on the "Run" exclamation mark again and select properties, you can change the capital R to a lowercase r so that the SHIFT key isn\'t needed and the shortcut simply becomes <kbd>Alt</kbd>+<kbd>R</kbd>.</p>\n'}, {'answer_id': 9968176, 'author': 'Keyslinger', 'author_id': 80857, 'author_profile': 'https://Stackoverflow.com/users/80857', 'pm_score': 0, 'selected': False, 'text': '<p>Not sure what resemblance this bears to the same issue in Windows 2007 but FWIW, I fixed it there by doing the following:</p>\n\n<ol>\n<li>Right click the Run button</li>\n<li>Select "Customize Quick Access Toolbar"</li>\n<li>In the dialog that appears, select "Query Tools | Design Tab" from the drop-down list on the left. The options in the list box on the left will change to reflect the selection.</li>\n<li>In the list box on the left, select "Run" and click "Add >>". "Run" should be added to the list on the right.</li>\n<li>Click Okay.</li>\n</ol>\n\n<p>Now you can run your SQL using <kbd>Alt</kbd>+<kbd>4</kbd>.</p>\n'}, {'answer_id': 18362195, 'author': 'Alexander Kaufmann', 'author_id': 2704347, 'author_profile': 'https://Stackoverflow.com/users/2704347', 'pm_score': 0, 'selected': False, 'text': '<p>Though not a keyboard shortcut, it is also possible to add the button to the quick Access toolbar for easy access regardless what tab you are own, or when the ribbon is minimized.</p>\n'}, {'answer_id': 22677358, 'author': 'John Dorian', 'author_id': 802303, 'author_profile': 'https://Stackoverflow.com/users/802303', 'pm_score': 1, 'selected': False, 'text': "<p>Keyboard shortcut to run a query:</p>\n\n<blockquote>\n  <p>Press (<strong>don't</strong> hold down) <kbd>Alt</kbd> then tap <kbd>v</kbd> then tap <kbd>s</kbd></p>\n</blockquote>\n\n<p>Keyboard shortcut to return to query view:</p>\n\n<blockquote>\n  <p>Press <kbd>Alt</kbd> then tap <kbd>v</kbd> then tap <kbd>q</kbd></p>\n</blockquote>\n"}]
['https://Stackoverflow.com/questions/56761', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2106/']