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
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
NbDescribedThumbnail (Property)
In french: NbVignetteDécrit
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
The NbDescribedThumbnail property is used to get the number of thumbnails expected for an item. This item was defined in the data model editor or programmatically.
Note: The expected number of thumbnails may differ from the number actually generated (known with property NbThumbnail).
Example
// Get the number of generated thumbnails 
// and the number of expected thumbnails
// for the Customer.Photo item
NumberThumbnail is int
ExpectedNumberThumbnail is int
NumberThumbnail = Customer.Photo.NbThumbnail
ExpectedNumberThumbnail = Customer.Photo.NbDescribedThumbnail
// Same number?
IF NumberThumbnail = ExpectedNumberThumbnail THEN
	Info("All the thumbnails have been generated")
ELSE
	FOR Number = 1 TO ExpectedNumberThumbnail
		ErrorString += "Thumbnail " + Number + Customer.Photo.InfoThumbnailGeneration[n] + CR
	END
	Error("Generation error", ErrorString)
END
Syntax
<Expected number of thumbnails> = <Data file>.<Item>.NbDescribedThumbnail
<Expected number of thumbnails>: Integer
Number of thumbnails requested for the specified item.
<Data file>: Character string
Name of the data file used. This name was defined in the data model editor or with the File Description type.
<Item>: Character string
Name of binary memo item used. This name is defined in the data model editor or with the Item Description type.
Remarks
The NbDescribedThumbnail property is available:
  • in HFSQL Classic: on the fields of a data file, view or query.
  • in HFSQL Client/Server: on data file fields only.
Linux The NbDescribedThumbnail property is only available on data file items in HFSQL Client/Server.
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 12/06/2024

Send a report | Local help