logo


58.2.7 Query Store: Command: Order By


Action of the command

Sorts a Selection of Records into ascending and Descending order based field selected. Can be multiple lines long to create compound Sorts. The Sort then proceeds in a strict Top Down order.

This will be the command that you will use most frequently.

After selecting Order By from the drop down menu or after clicking on a Order By line in the Order By Display pane, you will see the Editor controls:

 

Query: Command: Order By: Controls

Return selection for the Table

This drop down list allows you to specify which Table should be Sorted

Take Care: If this is set to the wrong Table then you will get unexpected results.

We have found that the most common reason for failed Order By is because of inattention to this list.

Field

The first list allows you to navigate to all visible tables in STATIC. As you switch to different tables, the list of fields in the second drop down list changes accordingly. The field that you require can then be selected. Note that the Type of the field is displayed next to the A and Z sort buttons.

Direction

The direction tells STATIC to sort the record selection in an Ascending or Descending order. Note that in the Order By lines pane of the form, that this is shown as <<< D <<< for Descending and >>> A >>> for Ascending.

Field Description

If the Field description is set in the Structure section of Preferences then a short text description will show here.



Harrowex Pty Ltd
http://www.hxmedical.com
Voice:+ 61 4 27 344 279
Fax: +61 3 52 439 019
static@hxmedical.com