PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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
NbThumbnail (Property)
In french: NbVignette
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
NbThumbnail is used to find out the number of thumbnails generated for an item. This item was defined in the data model editor or by programming.
Remark: The HFSQL thumbnails of an item are automatically generated:
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
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 generated thumbnails
// and the number of described thumbnails
// for the Customer.Photo item
NumberThumbnail is int
NumberDescribedThumbnail is int
NumberThumbnail = Customer.Photo.NbThumbnail
NumberDescribedThumbnail = Customer.Photo.NbDescribedThumbnail
// Same number?
IF NumberThumbnail = NumberDescribedThumbnail THEN
Info("All the thumbnails have been generated")
ELSE
FOR Number = 1 TO NumberDescribedThumbnail
ErrorString += "Thumbnail " + Number + ...
Customer.Photo.InfoThumbnailGeneration[Number] + CR
END
Error("Generation error", ErrorString)
END
Syntax
<Number of generated thumbnails> = <Data file>.<Item>..NbThumbnail
<Number of generated thumbnails>: Integer
Number of thumbnails generated for the specified item.
<Data file>: 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>: Character string (with or without quotes)
Name of binary memo item used. This name was defined in the data model editor or by the Item description type.
Remarks
The Property NbThumbnail is available:
  • in HFSQL Classic and in HFSQL Mobile: for the items found in a data file, in a view or in a query.
  • in HFSQL Client/Server: for the items found in a data file only.
Linux The Property NbThumbnail is only available in HFSQL Client/Server on a data file.
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment