|
|
|
|
- Deletion and modification rule
<Fuente>.ListLink (Función)
No disponible con este tipo de conexión
Returns the list of a data file links (Merise type) present.: - in the current analysis,
Novedad versión 2024in ongoing analyses (case of projects with multiple analyses). - in a specific analysis.
ListeLiaison is string
ListeLiaison = Client.ListeLiaison(hLstDetail)
COMBO_MaCombo.Ajoute(ListeLiaison)
Sintaxis
Listado de enlaces de un archivo de datos en un análisis Ocultar los detalles
<Result> = <Source>.ListLink([<Path of the WDD file> [, <Password of the WDD file>]] [, <Options>])
<Result>: Cadena de caracteres List of links. Novedad versión 2024Projects with multiple analyses: If several analyses are in progress, all links of all analyses in progress are listed (without duplicates). The different link descriptions are separated by CR characters (Carriage Return). The result is more or less detailed depending on the constant used: | | hLstDetail is not specified | <Name link1> + TAB + <Name file1.1> + TAB + <Name item1.1> + TAB + <Cardinality 1.1> + TAB + <Name file1.2> + TAB + <Name item1.2> + TAB + <Cardinality 1.2> + CR +... | hLstDetail is specified | <Name link1> + TAB + <Name file1.1> + TAB + <Name item1.1> + TAB + <Cardinality 1.1> + TAB + <Name file1.2> + TAB + <Name item1.2> + TAB + <Cardinality 1.2> + TAB + <Modification rule> + TAB + <Deletion rule> + CR +... |
Where:- <Name link X>: link name.
- <Name file x.1>:: Name of the data file related to the primary key.
- <Name item x.1>: Name of the item related to the primary key or name of the specified data file.
- <Cardinality x.1>: Cardinality of the link related to the primary key in the following format: "<Min cardinality>, <Max cardinality>" ("0, N" or "1, N" for example).
- <Name file x.2>: Name of the data file related to the foreign key.
- <Name item x.2>: Name of the item related to the foreign key.
- <Cardinality x.2>: Cardinality of the link related to the foreign key in the following format: "<Min cardinality>, <Max cardinality>" ("0, N" or "1, N" for example).
- <Modification rule>: Rule to apply if the primary key is modified.
- <Deletion rule>: Rule to apply if the primary key is deleted.
<Source>: Tipo de fuente especificada Name of the data file whose links must be listed. The links originating from this file or ending at this file are listed. <Path of the WDD file>: Cadena de caracteres opcional Full path of the analysis file (.WDD file). If this parameter is not specified or is equal to an empty string (""), links are searched for: - in the current analysis.
Novedad versión 2024in all current analyses (case of projects with multiple analyses).
<Password of the WDD file>: Cadena de caracteres opcional Password defined for the analysis. If no password is defined, this parameter must be equal to an empty string (""). <Options>: Constante opcional de tipo Integer Type of list to perform: | | hLstDetail | Lists the detailed information about the links. | hLstNormal (default value) | Lists the links. |
Listado de los enlaces de un archivo de datos accesibles a través de Conector Nativo u OLE DB, o a través de una conexión HFSQL Client/Server Ocultar los detalles
<Result> = <Source>.ListLink([<Connection>] [, <Options>])
<Result>: Cadena de caracteres List of links. The different link descriptions are separated by CR characters (Carriage Return). The result is more or less detailed depending on the constant used: | | hLstDetail is not specified | <Name link1> + TAB + <Name file1.1> + TAB + <Name item1.1> + TAB + <Cardinality 1.1> + TAB + <Name file1.2> + TAB + <Name item1.2> + TAB + <Cardinality 1.2> + CR +... | hLstDetail is specified | <Name link1> + TAB + <Name file1.1> + TAB + <Name item1.1> + TAB + <Cardinality 1.1> + TAB + <Name file1.2> + TAB + <Name item1.2> + TAB + <Cardinality 1.2> + TAB + <Modification rule> + TAB + <Deletion rule> + CR +... |
Where:- <Name link X>: link name.
- <Name file x.1>:: Name of the data file related to the primary key.
- <Name item x.1>: Name of the item related to the primary key or name of the specified data file.
- <Cardinality x.1>: Cardinality of the link related to the primary key in the following format: "<Min cardinality>, <Max cardinality>" ("0, N" or "1, N" for example).
- <Name file x.2>: Name of the data file related to the foreign key.
- <Name item x.2>: Name of the item related to the foreign key.
- <Cardinality x.2>: Cardinality of the link related to the foreign key in the following format: "<Min cardinality>, <Max cardinality>" ("0, N" or "1, N" for example).
- <Modification rule>: Rule to apply if the primary key is modified (see Remarks).
- <Deletion rule>: Rule to apply if the primary key is deleted (see Remarks).
<Source>: Tipo de fuente especificada Name of the data file whose links must be listed. The links originating from this file or ending at this file are listed. <Connection>: Cadena de caracteres o variable de tipo Connection Connection to use. This connection corresponds to: <Options>: Constante opcional de tipo Integer Type of list to perform: | | hLstDetail | Lists the detailed information about the links. | hLstNormal (default value) | Lists the links. |
Observaciones Deletion and modification rule The modification and deletion rules returned by <Fuente>.ListLink can correspond to the following constants: | | hIntegrityCascade | Manage the cascading modification and deletion. | hIntegrityDefaultValue | During the deletion, a default value is assigned to the linked records. | hIntegrityForbidden | Strict respect of integrity. | hIntegrityNone | No integrity constraint. |
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|