WINDEV, WEBDEV AND WINDEV MOBILEONLINE HELP
With HFSQL data files Hide the details
True if the operation was performed,False if a problem occurred. HError is used to identify the error.
Logical name of HFSQL data file (defined in the analysis). If this parameter is equal to "*", the change of directory will be applied to all known data files (described in the analysis). This parameter can also correspond to the name of a group of files (or custom-folder) defined in the analysis (not available in Android and Android Widget).
New access path to the data file (up to 260 characters). This path can contain the name of drive and directories, or it can be a relative path.If the path is a relative path, the "." (or "?") character is used to specify the current directory and the ".." character is used to specify the parent directory. If this parameter corresponds to an empty string (""), the data file will be handled in the directory specified in the analysis.
The access path to the data file must be relative to the database found on the server. You cannot specify a path outside the database. A WLanguage error occurs when attempting to access data files outside the database. For example: Valid path:
HChangeDir(FileName, "SUBDIR") OR HChangeDir(FileName, ".\SUBDIR")
The new path will be automatically created if it is valid and if it does not exist.
With an OLE DB access or a Native Connector (also called Native Access) Hide the details
Logical name of table (defined in the analysis). If this parameter is equal to "*", HChangeDir is ignored. Caution: If this parameter is equal to "*" and if one of the data files found in the analysis was associated with a connection (HChangeConnection) before the call to HChangeDir, the directory modification will be taken into account for this data file when closing the connection.
Access path to database to use (up to 260 characters). In this case, the database name specified in the connection properties of table in the analysis is ignored.This path can contain the name of drive and directories, or it can be a relative path.If the path is a relative path, the "." (or "?") character is used to specify the current directory and the ".." character is used to specify the parent directory.
Multiple changes of directory
Changing the name of data file
Last update: 03/09/2020
Send a report | Local help
J'accepte les termes de la licence
All you have to do is configure your product as follows: