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

Results

The result of a statement appears in the "Results" pane for the query tab that ran it. Every query tab keeps its own result. The number of rows and the duration are reported on the status bar, in the messages and in the strip under the grid, which reads for instance "12 Rows Affected" and "965 ms".

From release 28.0 the grid works at the level of the grid of Invantive Query Tool for Microsoft Windows: typed columns, row numbers, selection and copy, filters with two conditions, groups, summaries, an export which follows what is shown, and a layout which can be saved: The results grid of Invantive Query Tool Multi-Platform with a toolbar and a selected block of cells across several columns.

The pages about the grid use one statement for their examples. It reads the function range of the data dictionary, so it runs on any connection to the Data Dictionary database, and it returns twelve rows in which the category repeats beta, Gamma and Alpha, every fourth amount is empty and the date and the yes or no value vary:

select r.value as id
,      case when mod(r.value, 3) = 0 then 'Alpha' when mod(r.value, 3) = 1 then 'beta' else 'Gamma' end as category
,      case when mod(r.value, 4) = 0 then null else cast(r.value * 1.25 as decimal(12, 2)) end as amount
,      to_date('2026-10-01', 'yyyy-mm-dd') + mod(r.value, 5) as day_value
,      mod(r.value, 3) = 0 as flag
from   range@datadictionary(12) r

The examples were made on a device whose regional settings write 1,25 for one and a quarter and 02/10/2026 for the second of October 2026. A device with other settings shows the same values in its own format.

Columns and Values

The grid shows every value in the form of its type, and not as text. The type of a column decides how its values are placed:

  • Whole numbers stand against the right edge, with a thousands separator.
  • Other numbers stand against the right edge as well, with the number of decimals which the column has, so a column of amounts with two decimals shows 1,25 and 11,25. A number which has no known number of decimals is shown with two.
  • Dates, times and dates with a time stand in the middle, in the format of the device: a date shows the date, a time shows the time and a date with a time shows both.
  • A yes or no value is a check box.
  • A text stands against the left edge.
  • A value which holds a document or an image is a thumbnail or the text (BLOB); see Pictures and Long Texts.

Sorting follows the type, so a number sorts as a number and a date as a date.

The first column holds the row numbers. A click on a row number selects the whole row. The column is wider when the result holds more than 99,999 rows.

Working with the Columns

Every column heading holds the caption and three buttons. The heading itself can be pressed and dragged:

  • Clicking the caption sorts on that column, and clicking again turns the order.
  • The sigma chooses a summary for the column; see Summaries.
  • The button with three dots, called "Column Menu", offers "Filter...", "Summary...", "Pin Column" or "Unpin Column" and "Group by this column" or "Remove grouping". The menu opens with the secondary mouse button on the heading as well.
  • The funnel opens the filter of the column; see Filtering Rows.
  • Dragging a heading sideways moves the column, and dragging the edge of a heading changes the width.
  • Dragging a heading upwards, onto the bar above the grid, groups the rows by that column; see Grouping Results.

A pinned column stays in view while scrolling sideways, and pinned columns are placed at the left.

The button "Hide empty columns" on the toolbar of the results leaves out every column which holds no value in any row. That helps with the wide tables of cloud platforms, where a query often fills a fraction of the columns. The button "Field Chooser" offers a check box per column to show or hide it, and "Show All" shows every column again. The entry "Hide selected column" of the menu behind "Cell Menu" hides the column of the selected cell.

Selecting and Copying

A click on a cell selects it, Shift and Ctrl widen the selection, and Ctrl+C copies it. The cell menu offers more ways to copy; see Selecting and Copying.

Refreshing

The button "Refresh" runs the statement of the tab again and replaces the result. Only a select statement is run again; after another statement the status bar says so. It reports that there is nothing to refresh after "Execute All", which does not remember a single statement. A refresh does not appear in the history, and a statement with bind variables is run with the values which were typed the last time.

The arrow beside the button opens a menu to have the statement run again at an interval: "Every 10 seconds", "Every 30 seconds", "Every 5 minutes", "Every 30 minutes", and "Refresh Once" to stop. Choosing an interval refreshes at once, and the button shows the time to the next refresh, such as "Refresh (0:08)". The next refresh is counted from the end of the last one, so a statement which takes longer than the interval is never run twice at the same time. An automatic refresh adds nothing to the messages and does not bring the pane forward. It stops when the statement fails, is cancelled or is no longer a select, and when the tab is closed, and the status bar and the messages say why. A click on the button itself refreshes once and switches the interval off.

Finding a Value

The box "Find" at the right-hand end of the toolbar moves to the first row with a value which contains the text, in whichever of the columns shown. The search starts at two characters, after a short rest in the typing, upper and lower case are treated alike, and a value which is not a text is searched as it is shown. Enter, or the button with the arrow to the right, goes to the next row which holds the text; Shift+Enter, or the other arrow, to the previous one. At the last row the search carries on at the first. The text turns red when no row holds it, and Escape empties the box. "Show Only Matches" leaves out the rows which do not hold the text instead of moving to them, and a new result is narrowed in the same way.

A New Result

A new result of a statement starts without the filters, the groups, the summaries and the pinned columns of the previous one. "Display Layout" keeps an arrangement for the next time; see Display Layout.

Large Results

The grid shows the first rows of a large result at once and reads the next rows while the reader scrolls. A result of more than 1,000,000 rows is cut off at 1,000,000 rows with a warning; see Large Results.

Exporting

The results can be written to a file or to the clipboard in a number of formats, and most of them follow what the grid shows; see Exporting Results.

Release Notes