PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
The MaxLinkedCardinality property is used to set the characteristics of a link. You can:
  • Find out the maximum cardinality of the related item.
  • Modify the maximum cardinality of the related item.
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
// Modify the maximum cardinality
LinkClubPerson.MaxLinkedCardinality = hInfiniteCardinality
Syntax

Finding out the maximum cardinality of the related item Hide the details

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

Modifying 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 is used to define the cardinality "n". By default, when a link is set through programming, 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