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
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.
Note: The HFSQL thumbnails of an item are automatically generated:
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.
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> = <File Name>.<Item Name>..NbThumbnail
<Number of Generated Thumbnails>: Integer
Number of thumbnails generated for the specified 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 binary memo item used. This name was defined in the data model editor or by the Item description type.
Remarks
..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 ..NbThumbnail is available in HFSQL Client/Server for the items of a data file.
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment