PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
HAliasExternal (Function)
In French: HAliasExterne
HFSQLAvailable only with this kind of connection
HAliasExternal is kept for backward compatibility (this function will still be supported in the forthcoming version).
Since version 8, HDeclare and HDeclareExternal allow you to perform an advanced management of the files not found in the current analysis.
  • HDeclare: Imports a file description from an analysis other than the current analysis.
  • HDeclareExternal: Imports a file description from an existing file.
To benefit from this advanced management, use HDeclare and HDeclareExternal.
The documentation about HAliasExternal available in WINDEV 5.5 is as follows.
 
Purpose
Loading the description of Hyper File files contained in an analysis external to the application without closing the current analysis.
Syntax
<ErrorCode> = HAliasExternal(<File_Name>, <FullWddName> [, <Password> [, <LogicalAliasName> ]])
  • <ErrorCode> is an error code or 0 if the file was successfully loaded
  • <File_Name> is a character string containing the logical name of the file to load
  • <FullWddName> is a character string containing the full name of the ".WDD" of the analysis containing the file description.
  • <Password> is a character string containing the password of the analysis or an empty string if there is no password.
  • <LogicalAliasName> is a character string containing the name used to handle the file. This name is the logical name by default
Details
The possible error codes are:
  • 1: .WDD file not found
  • 2: logical file already found in the current analysis
  • 3: alias already found in the current analysis
  • 4: no current analysis
  • 5: error while loading the description
  • 6: wrong password
No integrity test can be run on this file, even if the linked files were also loaded using this command.
Once the description is loaded, it remains loaded until the current analysis is closed.
Notes
  • This function affects the Hyper File files only.
  • This function is not available when accessing a database via Remote Access.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment