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
MinSourceCardinality (Property)
In french: CardinalitéSourceMin
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
The MinSourceCardinality property sets the characteristics of a link. You can:
  • Get the minimum cardinality of the source item in the link.
  • Change the minimum cardinality of the source item in the link.
Example
// Change the minimum cardinality
LinkClub.MinSourceCardinality = 0
Syntax

Getting the minimum cardinality of the source item Hide the details

<Cardinality> = <Link>.MinSourceCardinality
<Cardinality>: Integer
Minimum cardinality of the source item.
<Link>: Character string
Name of the link defined in the data model editor or via the Link Description type.

Changing the minimum cardinality of the source item Hide the details

<Link>.MinSourceCardinality = <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 minimum cardinality for the source item. By default, when a link is defined programmatically, the minimum cardinality of the source item is 0.
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