DbSetScope Function | |
Sets scope values.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.19
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.
DEFINE | Description |
---|
SCOPE_TOP | The top scope. |
SCOPE_BOTTOM | The bottom scope. |
SCOPE_BOTH | The 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:
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