PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Compatibility with the earlier versions
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
HListREP (Function)
In French: HListeREP
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
Returns the list of assignments for the data files handled by the current application, which means the list of physical files corresponding to the data files described in the analysis.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Example
sAssignments is string
// Retrieve all the assignments of logical file
// CUSTOMER whose physical name is CUSTOMER2000 and that
// exist on disk
sAssignments = HListREP(".", "CUSTOMER", "CUSTOMER2000", hExisting)
WINDEVWEBDEV - Server codeReports and QueriesWindows MobileAjaxUser code (UMC)External languageHFSQLHFSQL Client/ServerHyper File 5.5
// List all the entries found in the .REP file of the project
// Equivalent syntax: HListREP()
sList is string
sList = HListREP(".","*")
Syntax

Listing the assignments from the .REP file Hide the details

<Result> = HListREP([<Name of .REP File> [, <Logical File Name> [,<Physical File Name>]]] [, <Options>])
<Result>: Character string
  • List of assignments,
  • Empty string ("") if an error occurred.
The list of assignments has the following format:
<Logical Name> + <TAB> + <Physical Name> + TAB + <Directory> + CR +...

Where:
  • <Logical Name>: Name of the data file in the analysis.
  • <Physical Name>: Physical file name, without path and without extension.
  • <Directory>: Directory of physical file.
HFSQL Client/Server <Result> is filled with 2 new details:
  • <Server Name>: Name of the HFSQL Client/Server server.
  • <Database Name>: Name of the HFSQL Client/Server database.
<Name of REP File>: Optional character string
Full name of the analyzed .REP file. If this parameter corresponds to an empty string or to ".", the current ".REP" file is examined. The current ".REP" file is also examined if the first three optional parameters are not specified.
Windows Mobile Empty string (""). If this parameter contains a character string, this string is ignored. The list of data files used by the application is saved in the registry of the Mobile Device (Pocket PC) and not in a .REP file.
Hyper File 5.5 This parameter cannot be specified on its own. The following syntax is not available: HListREP(<Name of .REP File>).
<Logical File Name>: Optional character string
Logical name of the data file whose assignments must be listed. If this parameter is not specified or if it is equal to "*", all the assignments of all the data files will be sought.
<Physical File Name>: Optional character string
Physical name of the data file whose assignments must be listed. If this parameter is not specified, all the assignments of <Logical file name> are searched.
<Options>: Optional integer constant
All the assignments are sought by default. The hExisting constant is used to find the assignments for which a data file actually exists.

Listing the assignments from the .WDD file Hide the details

<Result> = HListREP([<Name of WDD File> [, <Logical File Name> [,<Physical File Name>]]] [, <Options>])
<Result>: Character string
  • List of assignments,
  • Empty string ("") if an error occurred.
The list of assignments has the following format:
<Logical Name> + <TAB> + <Physical Name> + TAB + <Directory> + CR +...

where:
  • <Logical Name>: Name of the data file in the analysis.
  • <Physical Name>: Physical file name, without path and without extension.
  • <Directory>: Directory of physical file.
<Name of WDD File>: Optional character string
Full name of the examined .WDD file. The current "WDD" file is examined if this parameter is not specified or if it corresponds to ".".
<Logical File Name>: Optional character string (with or without quotes)
Logical name of the data file whose assignments must be listed. If this parameter is not specified or if it is equal to "*", all the assignments of all the data files will be sought.
<Physical File Name>: Optional character string
Physical name of the data file whose assignments must be listed. If this parameter is not specified, all the assignments of <Logical file name> are searched.
<Options>: Optional integer constant
All the assignments are sought by default. The hExisting constant is used to find the assignments for which a data file actually exists.
Remarks
WINDEVWEBDEV - Server codeReports and QueriesWindows MobileAjaxUser code (UMC)External languageHFSQLHFSQL Client/ServerHyper File 5.5

Compatibility with the earlier versions

The following syntax is not available anymore: HListREP(<WDD Name>, "?").
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Linux wd230hf.so
Windows Mobile wp230hf.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment