AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades HFSQL
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
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).
Ejemplo
// Define the modification rule used in the OrdLine link
OrdLine.ModificationRule = hIntegrityForbidden
...
// Validate the data file description
HDescribeFile(OrdLine)
Sintaxis

Finding out the modification rule Ocultar los detalles

<Modification rule> = <Link>.ModificationRule
<Modification rule>: Integer constant
The different modification rules are as follows:
hIntegrityCascadeCascading modification: modification of the key field in the source file results in cascading modification of all linked records.
hIntegrityDefaultValueDefault modification: when the key field is modified in the source file, the linked keys are initialized by their default value.
hIntegrityForbiddenModification forbidden: the key field in the source file cannot be modified if the record is linked to a record.
hIntegrityNoneNo 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 Ocultar los detalles

<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:
hIntegrityCascadeCascading modification: modification of the key field in the source file results in cascading modification of all linked records.
hIntegrityDefaultValueDefault modification: when the key field is modified in the source file, the linked keys are initialized by their default value.
hIntegrityForbiddenModification forbidden: the key field in the source file cannot be modified if the record is linked to a record.
hIntegrityNoneNo integrity management: modification of the key field in the link source file does not lead to any specific action in the linked file.
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 13/05/2025

Señalar un error o enviar una sugerencia | Ayuda local