Click or drag to resize

IndexKey Function

Return the key expression of a specified order.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION IndexKey(
	 nPosition AS USUAL
) AS STRING

Parameters

nPosition
Type: USUAL
The position of the order in the order list of the work area. A value of 0 specifies the controlling order, without regard to its actual position in the list.

Return Value

Type: String
The key expression of the specified order. If there is no corresponding order or if no database file is open, IndexKey() returns a NULL_STRING.
See Also