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
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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 by programming.
  • Define the modification rule used for a data file (when the link is described by programming).
Ejemplo
// Définir la règle de modification utilisée dans la liaison LigneCde
LigneCde.RègleModification = hIntegrityForbidden
...
// Valide la description du fichier de données
HDescribeFile(LigneCde)
Sintaxis

Finding out the modification rule Ocultar los detalles

<Modification rule> = <Binding>.ModificationRule
<Modification rule>: Integer constant
The different modification rules are as follows:
hIntegrityCascadeCascading modification: all the linked records are modified in cascade when the key item is modified in the source file.
hIntegrityDefaultValueDefault modification: the linked keys are initialized with their default value 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.
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.
<Binding>: Character string
Name of the link defined in the analysis or by the description Liaison type.

Defining the modification rule used in the link defined through programming Ocultar los detalles

<Link>.ModificationRule = <Modification rule>
<Link>: Character string
Name of the link defined in the analysis or by the description Liaison type.
<Modification rule>: Integer constant
The different modification rules are as follows:
hIntegrityCascadeCascading modification: all the linked records are modified in cascade when the key item is modified in the source file.
hIntegrityDefaultValueDefault modification: the linked keys are initialized with their default value 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.
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.
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: 05/03/2024

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