|
|
|
|
|
ModificationRule (Property) In french: RègleModification
The ModificationRule property is used to configure the modification rule (integrity management) to be applied to the data file described in the code. You can: - Find out the modification rule used for a data file defined in the analysis or programmatically.
- Define the modification rule used for a data file (when the link is described through programming).
LigneCde.RègleModification = hIntegrityForbidden
...
HDescribeFile(LigneCde)
Syntax
Finding out the modification rule Hide the details
<Modification rule> = <Link>.ModificationRule
<Modification rule>: Integer constant The different modification rules are as follows:
| | hIntegrityCascade | Cascading modification: modification of the key field in the source file results in cascading modification of all linked records. | hIntegrityDefaultValue | Default modification: when the key field is modified in the source file, the linked keys are initialized by their default value. | hIntegrityForbidden | Modification forbidden: the key field in the source file cannot be modified if the record is linked to a record. | hIntegrityNone | No integrity management: modification of the key field in the link source file does not lead to any specific action in the linked file. |
<Link>: Character string Name of the link defined in the analysis or by the Link Description type.
Defining the modification rule used in the link defined programmatically Hide the details
<Link>.ModificationRule = <Modification rule>
<Link>: Character string Name of the link defined in the analysis or by the Link Description type. <Modification rule>: Integer constant The different modification rules are as follows:
| | hIntegrityCascade | Cascading modification: modification of the key field in the source file results in cascading modification of all linked records. | hIntegrityDefaultValue | Default modification: when the key field is modified in the source file, the linked keys are initialized by their default value. | hIntegrityForbidden | Modification forbidden: the key field in the source file cannot be modified if the record is linked to a record. | hIntegrityNone | No integrity management: modification of the key field in the link source file does not lead to any specific action in the linked file. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|