Specifies the type of locking
functionality to use with the data source.
SyntaxReference_Syntax.lockType = "unspecified | readOnly | pessimistic | optimistic | batchOptimistic"
Values
Type
|
Values
|
String
|
unspecified (default)
readOnly
pessimistic
optimistic
batchOptimistic
Does
not specify a type of lock.
readOnly
pessimistic
optimistic
batchOptimistic
Indicates
read-only records. Data cannot be altered.
pessimistic
optimistic
batchOptimistic
Records
are locked at the data source immediately after editing.
optimistic
batchOptimistic
Records
are locked only when a user-instigated update of the data occurs.
Indicates
optimistic batch updates. This is required for batch update mode.
|
ExamplesIn
these examples, Titles represents the data connection
name.
JavaScriptxfa.sourceSet.Titles.nodes.item(1).query.recordSet.lockType = "optimistic";
FormCalcxfa.sourceSet.Titles.nodes.item(1).query.recordSet.lockType = "optimistic"
|
|
|