RDD

OrdScope()

Set or return order-scope boundaries

Syntax

Signature
OrdScope( nScope, [expNewValue] ) --> uCurrentValue

Arguments

nScope

Scope selector. expNewValue Optional boundary value.

Return value

Current scope value.

Description

Reads or sets a boundary for key values in the controlling order.

Notes

The meaning of nScope is defined by the RDD constants.

Example

OrdScope.prg
PROCEDURE Main()

   DbUseArea( .T., , "people.dbf", "People" )
   QOut( "Scope value type: " + ValType( OrdScope( 0 ) ) )
   DbCloseArea()

RETURN

Output

See also