Initiate the Query

For this example, the query will be executed from the Material details window. Open the ‘Material Details’ window and press <F11> to activate query mode. For this example, we will be using the BY query function. Once the query details are entered, press <F12> to run the query. Once the query has been run, the number of items in the query is displayed at the top of the window (as below).

Source screenshot

Export Query Data

With the query window still open, navigate to the HOME tab in the Opto ribbon and click on the Export to Excel icon to open the Export Data table window. Select a ‘Definition Name’, then click on the Export button (circled below) to export the query data into an excel spreadsheet.

Source screenshot

Once the query has been exported, the Excel spreadsheet will need to be saved to a location on your PC.

Examples of a query are as follows:

List Inventory Parts that are required to be manufactured - Open the INVENTORY tab and then click on the ‘Parts’ icon – (Initiate and execute query as above), enter >0 in the 'To Order' field. This will display the first of the parts list required for manufacture with all details displayed. The total number of parts that are within the selected criteria is displayed (e.g. 1 of 50 at the top of the window after the query has been run).

List All Clients or Suppliers - Open the CONTACTS tab and click on either the ‘Clients’ or ‘Suppliers’ icon (Initiate and execute query as above), enter BY in the 'Client Code' or 'Supplier Code' field. This will display the first of the Clients or Suppliers with all details displayed. The total number of Clients or Suppliers is displayed (e.g. 1 of 250 at the top of the window after the query has been run).

List All Clients without an ABN number - Open the CONTACTS tab and click on either the ‘Clients’ (Initiate and execute query as above), enter =" or ="" in the 'ABN' field. This query will only display all Clients without ABN numbers.

List All Clients with Export Name - Open the CONTACTS tab and click on the ‘Clients’ icon, click on the “Client Info” (Initiate and execute query as above), enter <>" or <>"" in the 'Export Name' field. This query will only display all Clients with an Export Name.

Query Search Option

Symbol Search Field that Example Result
[] followed by data criteria Containing data []ABC Finds all items in the selected field containing ABC
] followed by data criteria Starting with ]ABC Finds all items in the selected field starting with ABC
[ followed by data criteria Ending with [ABC Finds all items in the selected field ending with ABC
; separates data criteria Matching either data ABC;200MM Finds all items which contains either ABC or 200MM
> followed by data criteria Data greater than This could be in relation to measurement, dates, or a number sequence.
< followed by data criteria Data less than
<>” or <>”” Data field not empty Find all selected fields that have data.
=” or =”” Data field empty Finds all selected fields that are empty in the selected records.
>= ???&<=??? All data equal to or greater than the first data and less than or equal to the second data.
By All data in alpha or numeric order
By-dsnd All data in descending order
By1 All data sorted by this field first
By2 All data sorted by this field second

Function Keys

Key Command Action
F11 Init Start a query on the current window.
F12 Run Run the query using the search options you entered.
F6 Quick Search Open the Quick Search window to find a record.
Ctrl+Home First Go to the first record in the query results list.
Ctrl+Shift+Left Previous Go to the previous record in the query results list.
Ctrl+Shift+Right Next Go to the next record in the query results list.
Ctrl+End Last Go to the last record in the query results list.
Ctrl+F12 Close Close the current query.

The Sort A-Z and Sort Z-A icons in the Query group on the HOME tab sort the query results list by the selected field, ascending or descending. The Export To Excel icon on the HOME tab exports the query data to a Microsoft Excel spreadsheet. These icons have no keyboard shortcut.

Opto Software Pty Ltd Created: 04/11/2025