Add a Toolbar Button that performs a SQL query

Hi!
I have a sql query that displays locks (for example). I would like to add to toolbar button that would execute the query and displays the result in a new window. How can this be done using the "Tools" -> "Configure tools"?
Sorry for my English...
 
I don't know about a tool button, but I use menu item TOOLS/SESSIONS for a few of those type of queries.
 
You cannot add a toolbar button for this, but if you create a report it can be added to the menu, and you can assign a function key.

Invoking the report from the menu or with a function key will open a new Report Window and will execute it.
 
Back
Top