Click or drag to resize

IndexOrd Function

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

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

Return Value

Type: Int32
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