4D v13.4Order by editor |
||
|
4D v13.4
Order by editor
Order by editor
In the Design environment, choose Order by... from the Records menu or from the menu associated with the “Query” button in the 4D tool bar. The Order By editor contains the following areas and commands:
Note: The Quick reports editor can sort records that appear in a quick report. You can sort records in up to 30 different fields or formulas. Each field or formula you sort is referred to as a sort level. For example, the results of a two-level ascending sort of the last name and first name fields would produce a list such as this: Aardvark, Anthony When sorting the contents of fields, 4D is not case sensitive (i.e., “Smith” = “smith”) or diacritical sensitive (i.e., “Aá” = “Aa”). However, if you are using an international version of 4D and your operating system is diacritical sensitive (e.g., “Aá” ¦ “Aa”), sorting operations will also take diacritical marks into account You can decide to modify the order in which the sort levels have been specified or to remove one or more level(s) at any time. To reorder sort levels, use drag and drop:
To remove a sort level:
To remove all the sort levels:
You can specify either an ascending or descending order for each field or formula that you are sorting. Sorting from A to Z or smallest to largest is known as an ascending sort . Sorting in the reverse order is called a descending sort — largest to smallest, latest to earliest, and Z to A . If you are sorting more than one level, you can freely mix ascending and descending sort orders. A multiple-level sort can mix fields and formulas, and ascending and descending sort orders. To modify the sort order of a level:
You can sort a field or sort based on a formula. For example, the following formula sorts the month of a birth date field. Month of([Children]Birth Date) To create a sort formula:
To modify a formula or create a formula using a field already placed in the sort area, you can select a formula or a field name in the sort area and click on Modify... or double-click on a formula or a field name in the sort area. |
PROPERTIES
Product: 4D |