ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL / HFSQL functions
  • Example: Displaying the characteristics of a file in the trace
HListFile (Example)
Example: Displaying the characteristics of a file in the trace
WINDEVUser code (UMC) This example is used to display all the characteristics of the file in a trace window. Each characteristic is extracted from the result of HListFile by ExtractString.
// Affiche les caractéristiques d'un fichier dans la trace
ListeFichier is string
ListeFichier = HListFile(hLstDetail)

// Récupère le premier fichier
ListeFichier = ExtractString(ListeFichier, 1, CR)

// Affiche le nom logique du fichier
Trace("Nom logique : " + ExtractString(ListeFichier, 1))
// Affiche l'abréviation du fichier
Trace("Abréviation : " + ExtractString(ListeFichier, 2))
// Affiche le libellé du fichier
Trace("Libellé : " + ExtractString(ListeFichier, 3))
// Affiche le nom physique du fichier
Trace("Nom physique : " + ExtractString(ListeFichier, 4))
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help