<OBJECT>.QUICK_SORT()

Syntax

<OBJECT>.QUICK_SORT( Direction as L )

Argument

Description

Direction

Optional. Default = .T. (TRUE)

  • .T. = Ascending sort.

  • .F. = Descending sort.

Description

The <OBJECT>.QUICK_SORT() method applies to:

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

Form Functions and Methods, Browse Functions and Methods