Click or drag to resize

Functions.DbSetScope Method

Sets scope values.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.07
Syntax
 FUNCTION DbSetScope(
	nScope AS LONG,
	uValue AS USUAL
) AS LOGIC
View Source

Parameters

nScope
Type: Int32
A constant that indicates which scope needs to be set.
DEFINEDescription
SCOPE_TOPThe top scope.
SCOPE_BOTTOMThe bottom scope.
SCOPE_BOTHThe top and also the bottom scope. This is the default.
uValue
Type: __Usual
The value that needs to be set. The type of the value must match the type of the index expression.

Return Value

Type: Boolean
TRUE when the scope was set succesfully, otherwise FALSE.
See Also