By using this website, you agree to our Terms of Use (click here)
I keep catching myself trying to use F5 to run a query like I can do in SQL Management Studio. I think it would be nice if TimSQL could have keyboard shortcuts so I don't have to reach for the mouse.
Since F5 is already taken by the Browser for refreshing a webpage, how about Ctrl-Esc for SELECT and Ctrl-Insert for EXEC?
Ctrl-Esc is the normal keyboard shortcut for the Cancel button in Acumatica and Ctrl-Insert is the normal keyboard shortcut for the Add New Record button in Acumatica so I like that we'd be using normal Acumatica keyboard shortcuts.
Ctrl-Esc is nice for SELECT since you only need your left hand for it while Ctrl-Insert requires both hands which is nice for EXEC since "pressing" EXEC should require you to be more intentional.
We're thinking of removing the SELECT button and having the EXEC button do what the SELECT button currently does. Actually, we might want to call the EXEC button EXECUTE instead to mimic the button on SQL Management Studio:
That would mean that we only need one keyboard shortcut. Also, we're thinking of adding the EXEC / EXECUTE button to a AugSQL Saved Queries (QQ900003) screen as outlined in this idea so the PgUp and PgDn keyboard shortcuts would be taken.
https://www.augforums.com/forums/augsql/saved-sql-queries
So how about using Ctrl-Esc as the keyboard shortcut for the EXEC / EXECUTE button?
It would also be interesting if pressing Ctrl-V in an AugSQL window could do the following:
1. Populate the SQL Command field with whatever is on the clipboard
2. Press the EXECUTE button
This would be interesting in case you are using something like Notepad++ to write your SQL because Notepad++ can run a Macro which could do the following:
1. Alt-Tab to the AugSQL window
2. Send the Ctrl-V keystrokes to the AugSQL window
I'm not sure though if the AugSQL can override the default Ctrl-V behavior in a browser