<OBJECT>.QUICK_SORT()
Syntax
<OBJECT>.QUICK_SORT( Direction as L )
|
Argument |
Description |
|
Direction |
Optional. Default = .T. (TRUE)
|
Description
The <OBJECT>.QUICK_SORT() method applies to:
Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)
The <OBJECT>.QUICK_SORT() method performs the same action as the
Quick Sort
commands.
Supported By
Alpha Five Version 5 and Above
Limitations
Desktop applications only.
Example
This script is attached to a button. It gives focus to the Customer field, then sorts the data by this field.
|
customer.activate() customer.quick_sort() |
Sorting in descending order:
|
customer.quick_sort(.f.) |
See Also