|
|
|
|
|
- How to describe a link through programming?
- List of HFSQL properties used to describe a link programmatically
HDescribeLink (Function) In french: HDécritLiaison
Not available with these kinds of connection
Describes a link between two data files through programming. After the call to HDescribeLink: - The description of the link is validated.
- The link description cannot be modified anymore.
- The variable for link description is reinitialized. A new link description can be done.
Remark: To add a relationship to an HFSQL Client/Server database, use HAddLink.
HDescribeLink(CustomerProductLink)
Syntax
<Result> = HDescribeLink(<Link>)
<Result>: Boolean - True if the operation was performed,
- False if a problem occurs. HErrorInfo is used to identify the error.
<Link>: Link Description variable Name of the Link description variable that corresponds to the link to create. Remarks How to describe a link through programming? To describe a link through programming, you must: - Use the Link description variables.
- Describe the characteristics of the link via the HFSQL properties.
- Use HDescribeLink to save the description of the link.
List of HFSQL properties used to describe a link programmatically The following properties are available in read/write mode.
| | DeletionRule | The DeletionRule property is used to configure the deletion rule (integrity management) to be applied to the data file described programmatically. | LinkedFile | The LinkedFile property is used to set the characteristics of a link. | LinkedKey | The LinkedKey property sets the characteristics of a link. | MaxLinkedCardinality | The MaxLinkedCardinality property gets and changes the maximum cardinality of the related item. | MaxSourceCardinality | The MaxSourceCardinality property gets and changes the maximum cardinality of the source item in the link. | MinLinkedCardinality | The MinLinkedCardinality property gets and changes the minimum cardinality of the related item. | MinSourceCardinality | The MinSourceCardinality property gets and changes the minimum cardinality of the source item in the link. | ModificationRule | The ModificationRule property is used to configure the modification rule (integrity management) to be applied to the data file described in the code. | Name | The Name property is used to get:- the name of the font associated with a Font variable.
- the name of a control, report or report block.
- the name of a control, group of controls or window.
- the name of a control, group of controls or page.
| SourceFile | The SourceFile property is used to set the characteristics of a link. | SourceKey | The SourceKey property sets the characteristics of a link. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|