How to Requery query result window by keyboard shortcut?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TheSmileyCoder
    Recognized Expert Moderator Top Contributor
    • Dec 2009
    • 2322

    How to Requery query result window by keyboard shortcut?

    While debugging I often find myself looking at a query or table in datasheet view, while performing other operations in code or form. My problem is that I need to requery the query to see any new records. However atm, I need to close and reopen the query to do so.


    Is there any keyboard shortcut to requery a select query or table? (Im thinking something like F5 refreshing page in most browsers)
  • beacon
    Contributor
    • Aug 2007
    • 579

    #2
    Have you tried F9 or Shift+F9? This website, http://office.microsoft.com/en-us/ac...003089886.aspx, under the "Keys for working with text and data", it says these will let you recalculate the fields in the window or requery underlying tables.

    If nothing else, you can press Alt+R, then press the letter H to use the accelerators to refresh, but I don't know of a keyboard shortcut for refresh/requery.
    Last edited by beacon; May 25 '11, 03:46 PM. Reason: Forgot hyperlink to website

    Comment

    • NeoPa
      Recognized Expert Moderator MVP
      • Oct 2006
      • 32634

      #3
      Nice one Beacon :-)

      It looks like Shift-F9 is what you're after Smiley.

      Comment

      • TheSmileyCoder
        Recognized Expert Moderator Top Contributor
        • Dec 2009
        • 2322

        #4
        Thank you very much beacon, both for supplyingthe direct answer to my question, but also for posting that very usefull link.

        Comment

        • beacon
          Contributor
          • Aug 2007
          • 579

          #5
          Always happy to help Smiley! =)

          I always try to use keyboard shortcuts for things and just so happened to have that website bookmarked.

          Comment

          Working...