ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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.
// Displays the characteristics of a file in the trace
FileList is string
FileList = HListFile(hLstDetail)
 
// Retrieves the first file
FileList = ExtractString(FileList, 1, CR)
 
// Displays the logical file name
Trace("Logical name: " + ExtractString(FileList, 1))
// Displays the file abbreviation
Trace("Abbreviation: " + ExtractString(FileList, 2))
// Displays the file caption
Trace("Caption: " + ExtractString(FileList, 3))
// Displays the physical file name
Trace("Physical name: " + ExtractString(FileList, 4))
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help