ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / HFSQL properties
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
MaxLinkedCardinality (Property)
In french: CardinalitéReliéeMax
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
The MaxLinkedCardinality property sets the characteristics of a link. You can:
  • Get the maximum cardinality of the related item.
  • Change the maximum cardinality of the related item.
Example
// Modify the maximum cardinality
LinkClubPerson.MaxLinkedCardinality = hInfiniteCardinality
Syntax

Getting the maximum cardinality of the related item Hide the details

<Cardinality> = <Link>.MaxLinkedCardinality
<Cardinality>: Integer
Maximum cardinality of the related item. The hInfiniteCardinality constant identifies the "n" cardinality.
<Link>: Character string
Name of the link defined in the data model editor or via the Link description type.

Changing the maximum cardinality of the related item Hide the details

<Link>.MaxLinkedCardinality = <New cardinality>
<Link>: Character string
Name of the link defined in the data model editor or via the Link description type.
<New cardinality>: Integer
New maximum cardinality for the related item. The hInfiniteCardinality constant defines the "n" cardinality. By default, when a link is defined programmatically, the maximum cardinality of the related item is 1.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/08/2024

Send a report | Local help