ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / HFSQL properties
  • Handling a composite key
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
NbComponent (Property)
In french: NbComposante
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
The NbComponent property is used to get the number of elements in a composite key.
Note: The item may have been created using the data model editor or by programming.
Example
// Find out the number of components in the Customer.LNameFName composite key
ResNbComp = Customer.LNameFName.NbComponent
Syntax
<Result> = <Data file>.<Item>.NbComponent
<Result>: Integer
  • Number of elements in the composite key,
  • 1 if the key is not a composite key.
<Data file>: Character string
Logical name of the data file used.
<Item>: Character string
Name of the key item used.
Remarks

Handling a composite key

The Component property gets and sets the name of the item associated with each component of the key.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 12/05/2024

Send a report | Local help