DbSetScope Function | |
Sets scope values.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax FUNCTION DbSetScope(
nScope AS LONG,
uValue AS USUAL
) AS LOGIC
public static bool DbSetScope(
int nScope,
Usual uValue
)
Request Example
View SourceParameters
- nScope
- Type: Long
A constant that indicates which scope needs to be set.
The range of records to process, providing the same functionality as the ALL,
REST and NEXT clauses of record processing commands.
- 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:
LogicTRUE when the scope was set succesfully and when the record pointer has been successfully moved to the first record in the scope, otherwise FALSE.
Remarks The record pointer is moved to the first record in the scope when setting of the scope was succesfull.
See Also