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:
Note: From version 19, HFSQL is the new name of HyperFileSQL.
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.
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment