|
|
|
|
|
- Deletion and modification rule
HListLink (Function) In french: HListeLiaison
Not available with this kind of connection
Returns the list of data file bindings (Merise type) present: - in the current analysis,
- in ongoing analyses (case of projects with multiple analyses).
- in a specific analysis.
ListLink is string
ListLink = HListLink(Customer, hLstDetail)
ListAdd(COMBO_MaCombo, LinkList)
CntHFSQL is Connection
CntHFSQL.Provider = hAccessHFClientServer
CntHFSQL.User = "admin"
CntHFSQL.Password = ""
CntHFSQL.Server = "HFSQLServer:4900"
CntHFSQL.Database = "CRM"
HOpenConnection(CntHFSQL)
ListLink is string = HListLink("*", CntHFSQL)
ListAdd(COMBO_COMBO1, ListLink)
Syntax
Listing the links in an analysis Hide the details
<Result> = HListLink([<Data file> [, <Path of the WDD file> [, <Password of the WDD file>]]] [, <Options>])
<Result>: Character string List of links. Multi-analysis projects: If several analyses are in progress, all links for 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 | <Connection Name 1> + TAB + <Data File Name 1.1> + TAB + <Field Name 1.1> + TAB + <Cardinality 1.1> + TAB + <Data File Name 1.2> + TAB + <Field Name 1.2> + TAB + <Cardinality 1.2> + CR + ... | hLstDetail is specified | <Link Name 1> + TAB + <Data File Name 1.1> + TAB + <Field Name 1.1> + TAB + <Cardinality 1.1> + TAB + <Data File Name 1.2> + TAB + <Field Name 1.2> + TAB + <Cardinality 1.2> + TAB + <Modification Rule> + TAB + <Deletion Rule> + CR + ... |
Where:- <Nom Liaison X> Link name.
- <Nom Fichier de données x.1> Name of data file on primary key side.
- <Nom Rubrique x.1> Name of the item on the primary key side.
- <Cardinalité x.1> Cardinality of the link on the primary key side, of the form "<Cardinalité min>,<Cardinalité max>" (for example "0,N" or "1,N").
- <Nom Fichier de données x.2> Name of data file on foreign key side.
- <Nom Rubrique x.2> Name of field on foreign key side.
- <Cardinalité x.2> Cardinality of the foreign key link, of the form "<Cardinalité min>,<Cardinalité max>" (for example "0,N" or "1,N").
- <Règle de modification> Rule to be applied when modifying the primary key.
- <Règle de suppression> Rule to be applied if the primary key is deleted.
<Data file>: Optional character string Name of the data file whose links must be listed. The links originating from this file or ending at this file are listed. If this parameter corresponds to "*", HListLink lists the links defined for all the data files in the analysis. <Path of the WDD file>: Optional character string Full path of the analysis file (.WDD file). If this parameter is not specified or is equal to an empty string (""), the links are searched for: - in the current analysis.
- in all current analyses (case of projects with multiple analyses).
<Password of the WDD file>: Optional character string or secret string Password defined for the analysis. If no password is defined, this parameter must be an empty string ("").
New in version 2025Secret strings: If you use the secret string vault, the type of secret string used for this parameter must be "Ansi or Unicode string". To learn more about secret strings and how to use the vault, see Secret string vault. <Options>: Optional integer constant Type of list to perform: | | hLstDetail | Lists the detailed information about the links. | hLstNormal (default value) | Lists the links. |
Remarks Deletion and modification rule The modification and deletion rules returned by HListLink 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. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|