PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
ModificationRule (Property)
In french: RègleModification
..ModificationRule is used to configure the modification rule of the records (integrity management) that will be applied to the data file described by programming. You can:
  • Find out the modification rule used for a data file defined in the analysis or by programming.
  • Define the modification rule used for a data file (when the link is described by programming).
Versions 17 and later
iPhone/iPad This property is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for the iPhone/iPad applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store apps mode.
Universal Windows 10 App This property is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
// Define the modification rule used in the OrdLine link
OrdLine..ModificationRule = hIntegrityForbidden
...
// Validates the file description
HDescribeFile(OrdLine)
Syntax

Finding out the modification rule Hide the details

<Modification Rule> = <Link Name>..ModificationRule
<Modification Rule>: Integer constant
The different modification rules are as follows:
hIntegrityNoneNo integrity management: no specific action is performed in the linked file when the key item is modified in the source file of the link.
hIntegrityCascadeCascading Modification: all the linked records are modified in cascade when the key item is modified in the source file.
hIntegrityForbiddenModification not allowed: the key item cannot be modified in the source file if the record is linked to another record.
hIntegrityDefaultValueDefault Modification: the linked keys are initialized with their default value when the key item is modified in the source file.
<Link Name>: Character string (with or without quotes)
Name of the link defined in the analysis or by the Link Description type.

Defining the modification rule used in the link defined by programming Hide the details

<Link Name>..ModificationRule = <Modification Rule>
<Link Name>: Character string (with or without quotes)
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:
hIntegrityNoneNo integrity management: no specific action is performed in the linked file when the key item is modified in the source file of the link.
hIntegrityCascadeCascading Modification: all the linked records are modified in cascade when the key item is modified in the source file.
hIntegrityForbiddenModification not allowed: the key item cannot be modified in the source file if the record is linked to another record.
hIntegrityDefaultValueDefault Modification: the linked keys are initialized with their default value when the key item is modified in the source file.
See also
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment