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
NbArrayElement (Property)
In french: NbElémentTableau
..NbArrayElement is used to configure the number of elements in an array item. You can:
  • Find out the number of elements in an array item (defined in the data model editor or by programming).
  • Define the number of elements in an array item (when the item is described 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
// Define the number of elements in the
// Title array item of Customer file
Title..NbArrayElement = 3
...
// Validates the file description
HDescribeFile(Customer)
Syntax

Finding out the number of elements in an array item Hide the details

<Number of Elements> = <File Name>.<Item Name>..NbArrayElement
<Number of Elements>: Integer
  • Number of elements found in the specified array item,
  • 1 if the specified item is not an array item.
<File Name>: Character string (with or without quotes)
Name of data file used. This name was defined in the data model editor or by the File Description type.
<Item Name>: Character string (with or without quotes)
Name of the array item used. This name was defined in the data model editor or by the Item Description type.

Defining the number of elements in an array item Hide the details

<Item Name>..NbArrayElement = <New Number of Elements>
<Item Name>: Character string (with or without quotes)
Name of the array item used. This name was defined by the Item Description type.
<New Number of Elements>: Integer
  • Number of elements found in the specified array item,
  • 1 if the specified item is not an array item.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment