DbServer.Scope Property (Typed) | |
The "scope" component of the "general server scope," which affects several bulk processing methods if they are called with no explicit scope. The initial value of the scope is NIL.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VORDDClasses (in XSharp.VORDDClasses.dll) Version: 2.21
Syntax VIRTUAL PROPERTY Scope AS USUAL GET SET
public virtual Usual Scope { get; set; }
Request Example
View SourceProperty Value
Type:
UsualThe "scope" component of the "general server scope," which affects several bulk processing methods if they are called with no explicit scope. The initial value of the scope is NIL.
Remarks
The following constants represent the range of records to process, providing the same functionality as the ALL, REST and NEXT clauses of record processing commands:
Examples
This example illustrates how various Scope values affect the extent of a recall operation:
1
2oDB:ForBlock := {|| Last == "Smith"}
3oDB:Scope := DBSCOPEREST
4oDB:Recall()
5
6oDB:WhileBlock := {|| Last == "Smith"}
7oDB:Scope := 10
8oDB:Recall()
See Also