Click or drag to resize

IndexOrd Function

X#
Return the position of the controlling order within the order list.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 FUNCTION IndexOrd() AS LONG
Request Example View Source

Return Value

Type: Long
The position of the controlling order.
A value of 0 indicates either that no database file is open or that there is no controlling order and records are being accessed in natural order.
Remarks
This function is provided for compatibility only.
The recommended function for obtaining the position of the controlling order is DBOrderInfo(DBOI_NUMBER).
Examples