PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
MaxSourceCardinality (Property)
In french: CardinalitéSourceMax
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
..MaxSourceCardinality is used to configure the characteristics of a link. You can:
  • Find out the maximum cardinality of the source item in the link.
  • Modify the maximum cardinality of the source item in the link.
Example
// Modify the maximum cardinality
LinkClubPerson..MaxSourceCardinality = hInfiniteCardinality
Syntax

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

<Cardinality> = <Link>..MaxSourceCardinality
<Cardinality>: Integer
Maximum cardinality of the source item for the link. The hInfiniteCardinality constant is used to identify the cardinality "n".
<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 maximum cardinality of the source item Hide the details

<Link>..MaxSourceCardinality = <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 maximum cardinality for the source item of the link. The hInfiniteCardinality constant is used to define the cardinality "n". By default, when a link is described by programming, the maximum cardinality of the source item is equal to 1.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment