Help / WLanguage / Managing databases / HFSQL / HFSQL functions
  • Displaying the result in a List Box or Combo Box control
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
HListAnalysis (Function)
In french: HListeAnalyse
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
Returns the list of WINDEV or WEBDEV analyses (in HFSQL Classic format) available in a given directory. The search is performed recursively in the entire tree structure of the specified directory.
// Fills a Combo Box control with the list of analyses
// found in \My Directories
ListAdd(COMBO_Combo, HListAnalysis("\My Directories"))
// Fills a multiline edit control
// By using commas and CRs as separator
EDT_Edit1 = HListAnalysis("\My Projects", "," + CR)
<Result> = HListAnalysis(<Search directory> [, <Separator>])
<Result>: Character string
Full name of the analyses found, in the following format:
<analysis 1> + <separator> + <analysis 2> +...

where <analysis X> corresponds to the full name of the analysis (.WDD) found.
<Search directory>: Character string
Path of the directory where the search for analyses must start. If this parameter is set to "*" or to "*:\", all the directories on all the accessible drives will be searched (depending on the case, this search can take quite a long time).
<Separator>: Optional character string
Character string used to separate the different analyses in <Result>. If this parameter is not specified, CR (Carriage return) is used by default.

Displaying the result in a List Box or Combo Box control

If Carriage Return (CR) is used as separator, <Result> can be directly assigned to a List Box or Combo Box control with ListAdd. Each row will contain the full name of one of the analyses found.
Business / UI classification: Business Logic
Component: wd290hf.dll
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help