PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • How to describe a link by programming?
  • List of HFSQL properties used to describe a link by programming
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
HDescribeLink (Function)
In french: HDécritLiaison
ODBCNot available with this kind of connection
Describes a link between two data files by 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: From version 19, HFSQL is the new name of HyperFileSQL.
Example
HDescribeLink(CustomerProductLink)
Syntax
<Result> = HDescribeLink(<Link>)
<Result>: Boolean
  • True if the operation was performed,
  • False if a problem occurred. 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 by programming?

To describe a link by programming, you must:
  1. Use the Link description variables.
  2. Describe the characteristics of the link via the HFSQL properties.
  3. Use HDescribeLink to save the description of the link.
Remark: To describe a data file by programming, use HDescribeFile. To describe items by programming, use HDescribeItem.

List of HFSQL properties used to describe a link by programming

The following properties are available in read/write.
DeletionRuleThe Property DeletionRule is used to set the record deletion rule (integrity management) to be applied to the data file described by programming.
LinkedFileLinkedFile is used to configure the characteristics of a link.
LinkedKeyThe Property LinkKey is used to set the characteristics of a link.
MaxLinkedCardinalityThe Property Linked CardinalityMax allows to know and modify the maximum cardinality of the Item linked in the Link.
MaxSourceCardinalityThe Property CardinalitySourceMax makes it possible to know and modify the maximum cardinality of the Item source in the Link.
MinLinkedCardinalityThe Property Linked CardinalityMin allows to know and modify the minimum cardinality of the Item linked in the Link.
MinSourceCardinalityThe Property CardinalitySourceMin makes it possible to know and modify the minimum cardinality of the Item source in the Link.
ModificationRuleThe ModificationRule property is used to configure the modification rule (integrity management) to be applied to the data file described in the code.
NameThe Property Name allows you to know:
  • 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.
SourceFileSourceFile is used to configure the characteristics of a link.
SourceKeySourceKey is used to configure the characteristics of a link.
Component: wd260hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment