xHarbour Reference Documentation > Command Reference xHarbour Developers Network  

SET SCOPETOP

Changes the top scope for navigating in the controlling index.

Syntax

SET SCOPETOP TO [<topScope>]

Arguments

TO <topScope>
This is an expression whose value is used to define the top scope, or top boundary, for indexed database navigation. Its data type must match with the data type of the index expression of the controlling index. Alternatively, <topScope> can be a code block that must return a value of the correct data type.

Omitting the argument clears the top scope.

Description

The SET SCOPETOP command defines or clears the top scope for indexed database navigation. Refer to SET SCOPE for more explanations.

Info

See also:OrdScope(), SET SCOPE
Category: Database commands , Index commands
Header:Ord.ch
Source:rdd\dbcmd.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe