RDD

IndexOrd()

Return the controlling index position

Syntax

Signature
IndexOrd() --> nOrder

Arguments

None.

Return value

Position of the controlling order, or zero when none is active.

Description

IndexOrd() reports the order-list position of the index controlling navigation.

Notes

The result belongs to the current work area.

Example

IndexOrd.prg
PROCEDURE Main()

   DbUseArea( .T., , "people.dbf", "People" )
   QOut( "Order: " + LTrim( Str( IndexOrd() ) ) )
   DbCloseArea()

RETURN

Output

See also