Xbasic
CURRENT_ORDER_EXPN Function
Syntax
Base_Order_Expression as C = current_order_expn()
Description
Returns the order for the primary table of the current session
Discussion
CURRENT_ORDER_EXPN() returns the Base_Order_Expression of the primary table in a session. Can be used in a form or report, for example, to display the current order.
Example
To display the order expression that a report is based on, define a calculated field with this expression:
CURRENT_ORDER_EXPN()
See Also