|
|
|
|
|
- HListFile function and the Native MySQL or MariaDB Connector
HListFile (Function) In french: HListeFichier
Not available with this kind of connection
Returns the list of data files: - of the current analysis.
- analyses in progress (projects with multiple analyses).
- a specific analysis recognized by the HFSQL engine.
- available on a connection via a Native Connector or an OLE DB driver.
- for a group defined in the data model editor.
The groups defined in the data model editor are not supported.
FileList is string
FileList = HListFile(hLstDetail + hLstAll)
ListAdd(COMBO_COMBO1, FileList)
Trace(FileList)
Syntax
Listing the data files of an analysis Hide the details
<Result> = HListFile([<Path of the WDD file> [, <Password of the WDD file>]] [, <Options>])
<Result>: Character string List of data files found in the current analysis or in the specified analysis. Multi-analysis projects: If several analyses are in progress, all the files from all the analyses in progress are listed (without duplicates).. The descriptions of each analysis are separated by a CR character (Carriage Return). The result is more or less detailed depending on the constant used: | | hLstDetail is not specified | <Name of data file 1> + CR + <Name of data file 2> + CR + ... | hLstDetail is specified | <Name of data file 1> + TAB + <Abbreviation> + TAB + <Caption> + TAB + <Physical name> + CR + ... |
Where:
- <Nom du fichier de données X> Logical name of data file (used in programming).
- <Abréviation>: Abbreviation for data file.
- <Libellé>: Data file name.
- <Nom physique> Physical name of data file (on disk). This name corresponds to the short file name, without extension or path.
<Path of the WDD file>: Optional character string Full path of analysis (.WDD file) where the data file is described. If this parameter is not specified or is equal to an empty string (""), the data files to be listed are searched: - in the current analysis.
- in all current analyses (case of projects with multiple analyses).
<Password of the WDD file>: Optional character string Password defined for the analysis. If no password is defined, this parameter must be an empty string (""). <Options>: Optional Integer constant (or combination of constants) Configures the type of list to perform: | | hLstAll | Lists all the data files (including the ones described by HDeclare, HDeclareExternal and HDescribeFile).
| hLstDetail | Lists the detailed information (same as WINDEV 5.5). | hLstNormal (default value) | List not sorted, not detailed, without the data files described programmatically. | hLstSorted | Sorts the list of data files in ascending order.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|