ParentNoSwitchIfCommitted - DataDictionary
Determines if a parent record can be switched, once it is committed
Type: Procedure Set
Parameters
| Parameter | Type | Description |
|---|---|---|
| iParent | Integer | Table number of parent table |
| bAllowed | Boolean | False to allow switching parent, True to prohibit |
Syntax
Procedure Set ParentNoSwitchIfCommitted Integer iParent Boolean bAllowed
Call Example
Set ParentNoSwitchIfCommitted iParent bAllowed
Description
Determines if a parent record can be switched, once it is committed (see Commit Field_Option). Set in the main DD for the table.
Whether the record is currently committed can be queried by calling IsCommitted.