invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

Main Window

The main window holds the ribbon at the top, the query tabs in the middle and the panes underneath, as in Invantive Query Tool for Microsoft Windows. The divider between the query tabs and the panes can be moved. Earlier releases showed a menu bar, a toolbar and a status bar instead of the ribbon.

The main window of Invantive Query Tool Multi-Platform with a query in the editor and its result rows in the "Results" pane.

Ribbon

The ribbon has the tabs "General" and "Editor", with "File" at the left. At the right of the tabs a dot shows how busy the connections are; clicking it opens the Connection Monitor, see Connection Monitor. The arrow at the far right hides the groups of the ribbon and shows them again. "Save" is also in the small toolbar at the left of the title.

"General" holds four groups:

  • "Actions": "Execute" runs the statement being worked on and "Execute All" every statement in the tab; see Executing Statements. "Debug Statement at Cursor" and "Debug All" do the same in the debugger, which stops at the first statement when "Pause at Start" is marked; see Debugger.
  • "Connection": the button with the name of the database in use, or "Disconnected", opens a database; see Log on. Its arrow holds "Connect", "Settings", which opens the settings files with the databases, and "Disconnect". "Partitions" shows the partitions in use, such as the companies of an accounting package, and chooses others; it is only there while a database is open. "Preferences" is not available in this product yet.
  • "Tools": "Describe Object" finds the object whose name the cursor is on in Available Objects. "Data Cache", "Invantive Data Loader" and "Create Data Hub Batch Script" are not available in this product yet and say so.
  • "Help": "Product Forums" opens the forums of the product in the browser. "Help" opens the product documentation; its arrow holds "www.invantive.com", "Diagnostics", "Keychain", "Release Notes", "Send Feedback", "License" and "About Invantive Query Tool" with the version, the edition and the contact details belonging to the licence.

"Editor" holds the commands of the editor: "Undo", "Redo", "Cut", "Copy", "Paste", "Find", "Replace", "Select All", "Goto Line", the case commands and "Remove trailing spaces" (see #Editing Text), "Wrap char", "Wrap word" and "Wrap none", "Insert from SQL", which inserts the contents of a file at the cursor, and "Language", which chooses how the editor colours the text: SQL, XML, or not at all.

Which buttons are shown depends on the functions the licence and the user rights allow, by the same rules as in Invantive Query Tool for Microsoft Windows. "Execute" and "Execute All" become available as soon as a database is open, and are unavailable before that. "Execute All" needs a licensed function of its own from release 27.0 onwards. Without it the button stays available and the run is refused with a message; see Executing Statements.

File

"File" covers the ribbon and the panes with a column of commands at the left: "New", "Open", "Save", "Save As", "Print", "Close" and "About". "Print" is not available; save the query and print the file instead. The arrow at the top of the column, and the key "Esc", go back. Below a line follow the menus "File", "Edit", "Selection", "Query", "Window" and "Help", which open at their right and hold every command of the product, also those without a button in the ribbon:

  • "File" holds "New Tab", "Open", "Save", "Save As", "Close Tab" and "Close window".
  • "Edit" holds "Undo", "Redo", "Cut", "Copy", "Paste", "Find", "Replace", "Goto Line" and "Line Wrap". The first five apply to the field that has the cursor, otherwise to the SQL editor. "Find" and "Replace" open the search bar of the editor, "Replace" with the field to replace by; see #Editing Text.
  • "Selection" holds "Select All", "Select Current Statement", "Upper Case", "Lower Case", "Initial Case", "Remove trailing spaces", "Comment" and "Uncomment Block". "Select Current Statement" selects exactly the statement "Execute" would run; the others change the text, see #Editing Text.
  • "Query" holds "Log in", "Discover Databases", "Execute" and "Execute All", and the commands of the debugger. "Discover Databases" opens the window described in Discover Databases.
  • "Window" holds "Minimize", "Zoom", "Panes", "Reset Layout" and "Language"; see User Interface Language. "Panes" and "Reset Layout" are described under #Panes.
  • "Help" opens the product documentation and the product forums in the browser.

On MacOS the same menus are also in the menu bar of the screen, as every application there, and "About Invantive Query Tool" is in the application menu, as the platform prescribes.

The keyboard shortcuts use the Control key on Microsoft Windows and Linux and the Command key on MacOS. On Microsoft Windows and Linux F9 also runs "Execute" and F5 "Execute All". "Replace" has Ctrl+H and "Goto Line" Ctrl+G; on MacOS "Replace" is ⌥⌘F, since ⌘H hides the application. "Comment" has Ctrl+B respectively ⌘B and "Uncomment Block" Ctrl+Shift+B respectively ⇧⌘B. So the shortcut of "New Tab" is Ctrl+N respectively ⌘N, and the statement being worked on is executed with Ctrl+Enter respectively ⌘⏎.

Query Tabs

Each query tab holds its own statement, its own results and its own messages. A new tab is called "New.sql", the next one "New 2.sql" and so on, as in Invantive Query Tool for Microsoft Windows. The tab marked "+" opens a new tab; there is always at least one tab.

A tab whose statement has been changed since it was opened or saved carries an asterisk behind its name and a page with a pencil as its icon. Closing such a tab asks whether the changes may be discarded. A tab can not be closed while it is executing. Closing the last tab opens an empty one.

The query tabs are kept when the window is closed and shown again at the next start, each with its name, its file and its text, also text which was not saved to a file. Because the text is kept, closing the window does not ask about unsaved changes; closing a single tab still does. The position of the cursor and the results are not kept. The tabs of this product are kept apart from those of Invantive Query Tool for Microsoft Windows. A run started with /nodocuments shows none of them and keeps none; see Command Line Options.

"Open" and "Save As" work with .sql, .isql and .txt files. A file is opened in the current tab when it is still empty, and in a new tab otherwise. After saving, the tab carries the name of the file.

Tabs execute independently: a long running statement in one tab does not block work in another. Within one tab only one statement runs at a time.

SQL Editor

The editor shows line numbers on a grey band and colours the SQL, in Consolas where the platform has that font. It is read-only until a database is open.

Above the editor a bar appears while a statement runs, reporting what the engine is doing and how long it has been running, with a button to cancel; see Executing Statements.

Panes

The lower half holds the panes, one behind the other as tabs:

  • "Available Objects" lists what the database offers; see Available Objects.
  • "History" lists the statements which were executed; see History.
  • "Results" shows the result of the statement of the query tab in use, in a grid with filters, groups, summaries and export; see Results.
  • "Messages" shows what happened, newest first, each line preceded by the time. Errors are shown here in full, next to the window reporting them.
  • "DBMS Output" shows what PSQL blocks write with dbms_output; see DBMS Output.
  • "Progress" draws what the statement of the query tab in use does while it runs; see Progress.
  • "Trace" lists the trace messages of the application; see Trace.

"Results", "Messages", "DBMS Output" and "Progress" follow the query tab in use; "Available Objects" describes the database and is therefore the same for every tab, and "History" and "Trace" belong to the whole window.

A pane is closed with the cross on its header. "Panes" in the "Window" menu holds one entry per pane, marked when the pane is in view, and brings a closed pane back in the place it had. "Reset Layout" returns every pane to its original place and size. The arrangement of the panes is remembered when the window is closed and used again at the next start.

Error Window

An error is reported in a window of its own, with the message code below the icon and the technical detail behind "Show details". "Copy as JSON" and "Save as JSON" in that window hand the error over as one document with personal data masked on a best-effort basis, to paste into an AI or to send to support; see Error as JSON. Available from release 28.0.

Below the message code the window shows the trace ID of the work which raised the error, which can be selected and copied. Support finds the work with it in the trace files of every product it passed through. Available from release 28.0.

Editing Text

The text commands of the editor work on what is selected, one step of "Undo" taking back one command.

  • "Upper Case" and "Lower Case" change the case of the selection, and "Initial Case" makes every word start with a capital and the rest lower case, as in English. Without a selection they do nothing. The selection stays in place, so one command can follow the other.
  • "Remove trailing spaces" takes the spaces and tabs off the end of every selected line, whatever ends the lines, and off the whole text when nothing is selected.
  • "Comment" puts -- and a space in front of the text of every line the selection touches, or of the line the cursor is on, after the indentation; a line with nothing on it is left alone. "Uncomment Block" takes -- and one space after it away from the lines which start with it. A selection which ends at the very start of a line does not include that line.
  • "Goto Line" asks for a line number, shows on what line the cursor is and how many lines the text has, and refuses what is not a number or is no line of the text with a message in the window, until the number is right. The cursor then stands at the start of that line, and the line is in view.
  • "Line Wrap" wraps long lines at the edge of the editor. It applies to the query tab in front, is off when a tab is opened and is not remembered. The tab "Editor" of the ribbon also offers "Wrap char", "Wrap word" and "Wrap none".

Messages Instead of a Status Bar

There is no status bar, as in Invantive Query Tool for Microsoft Windows: what happened, such as the database that was opened or the reason why something did not happen, is in the pane "Messages", newest first.

Release Notes