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.
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
MinLinkedCardinality (Property)
In french: CardinalitéReliéeMin
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
The Property CardinalityRelatedMin allows to set the characteristics of an Link. You can:
  • Find out the minimum cardinality of the linked item in the link.
  • Modify the minimum cardinality of the linked item in the link.
Example
// Modify the minimum cardinality
LinkClubPerson.CardinalityRelatedMin = 1
Syntax

Finding out the minimum cardinality of the linked item Hide the details

<Cardinality> = <Link>.MinLinkedCardinality
<Cardinality>: Integer
Minimum cardinality of the linked item.
<Link>: Character string (with or without quotes)
Name of the link defined in the data model editor or via the Link description type.

Modifying the minimum cardinality of the linked item Hide the details

<Link>.MinLinkedCardinality = <New cardinality>
<Link>: Character string (with or without quotes)
Name of the link defined in the data model editor or via the Link description type.
<New cardinality>: Integer
New minimum cardinality for the linked item. By default, when a link is described by programming, the minimum cardinality of the linked item is equal to 0.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment