Get(SortState)

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 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352
Simiral book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net