PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • How to describe a link by programming?
  • List of HFSQL properties used to describe a link through programming
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
HDescribeLink (Function)
In french: HDécritLiaison
ODBCHFSQL Client/ServerNot available with these kinds 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: To add a relationship to an HFSQL Client/Server database, use function HAddLink.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Example
HDescribeLink(LiaisonClientProduit)
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 through 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 through programming, use HDescribeFile. To describe items through programming, use HDescribeItem.

List of HFSQL properties used to describe a link through programming

The following properties are available in read/write mode.
DeletionRuleThe DeletionRule property is used to configure the deletion rule (integrity management) to be applied to the data file described through programming.
LinkedFileThe LinkedFile property is used to set the characteristics of a link.
LinkedKeyThe LinkedKey property is used to set the characteristics of a link
MaxLinkedCardinalityThe MaxLinkedCardinality property is used to get and modify the maximum cardinality of the related item in the link.
MaxSourceCardinalityThe MaxSourceCardinality property is used to get and modify the maximum cardinality of the source item in the link.
MinLinkedCardinalityThe MinLinkedCardinality property is used to get and modify the minimum cardinality of the related item in the link.
MinSourceCardinalityThe MinSourceCardinality property is used to get and modify the minimum cardinality of the source item 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 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.
SourceFileThe SourceFile property is used to set the characteristics of a link.
SourceKeyThe SourceKey property is used to set the characteristics of a link.
Component: wd270hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment