Xbasic

OBJECT.ORDER_GET Function

Syntax

Order_Expression as C = .Order_get()

Description

Returns the current order expression for the browse or form.

The <OBJECT>.ORDER_GET() 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>.ORDER_GET() method returns the current order expression for the form.

Example

dim ptr as P
ptr = browse.view("CustomerBrowse")
? ptr.Order_get() ? "LASTNAME"

Limitations

Desktop applications only.

See Also