PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Handling a composite key
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
NbComponent (Property)
In french: NbComposante
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
..NbComponent is used to find out the number of elements found in a composite key.
Note: The item was created in the data model editor or by programming.
Versions 17 and later
iPhone/iPad This property is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for the iPhone/iPad applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store Apps mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Universal Windows 10 App This property is now available in Windows Store Apps mode.
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
// Find out the number of components in the Customer.LNameFName composite key
ResNbComp = Customer.LNameFName..NbComponent
Syntax
<Result> = <File Name>.<Item Name>..NbComponent
<Result>: Integer
  • Number of elements in the composite key,
  • 1 if the key is not a composite key.
<File Name>: Character string (with or without quotes)
Logical name of data file used.
<Item Name>: Character string (with or without quotes)
Name of the key item used.
Remarks

Handling a composite key

..Component is used to find out and modify 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