Category: Get
Syntax: Get ( SortState ) |
Parameters: None
Data type returned: Number
Description:
Returns a number that represents the sort state of the active window.
Get (SortState) can be used in a customized interface where the Status Area is normally hidden from the user. Also, Get (SortState) can be used to correctly display sort icons in a customized interface.
A sorted found set becomes semi-sorted if new records are created. Omitting or deleting records does not cause the sort status to change, however. Subsummary reports may not show expected results when the found set is semi-sorted.
Examples:
Function |
Results |
---|---|
Get (SortState) |
Returns 0 if the found set in the active window is not sorted. |
Returns 1 if the found set in the active window is sorted. |
|
Returns 2 if the found set in the active window is partially sorted (semi-sorted). |
: FileMaker Specifications
FileMaker 8 Product Line
Specifications and Storage Limits
Field Types and Import/Export Formats
: Calculation Functions
Working with Calculations Primer
Calculation Signatures
Calculation Functions
: Custom Functions
Custom Functions Primer
Useful Custom Functions
: Script Steps
Scripting Primer
Script Step Reference
: Quick Reference
FileMaker Error Codes
FileMaker Keyboard Shortcuts
FileMaker Network Ports
FileMaker Server Command Line Reference
FileMaker XML Reference
: Other Resources
Where to Go for More Information