VoDbSetScope Function | |
Set the locate condition.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax FUNCTION VoDbSetScope(
scope AS DbScopeInfo
) AS LOGIC
public static bool VoDbSetScope(
DbScopeInfo scope
)
Request Example
View SourceParameters
- scope
- Type: DbScopeInfo
Scope information for the current workarea
Return Value
Type:
LogicTRUE if successful; otherwise, FALSE.
Remarks
Please note that this scope information is NOT the order scope, but a class that stores information about LOCATE operations and other workarea operations.
This function, however, does not call the error handler and will not, therefore, produce a runtime error message or create an error object if it fails.
Thus, it may be important to check the return value to determine if the function succeeded.
the LastRddError property in the runtime state. will contain needed information regarding any error that occurs.
See Also