Cancels an alias previously declared by HAlias
. After this operation, the data file is no longer recognized by the HFSQL engine.
Note: If the alias is opened, it is automatically closed during the cancelation.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
// Creates 2 aliases on CUSTOMER file
// Cancels the first alias
<Result> = HCancelAlias(<Alias Name>)
- True if the operation was performed,
- False if a problem occurred. HError is used to identify the error.
<Alias Name>: Character string (with or without quotes)
Name of the alias file to cancel. A non-fatal WLanguage error occurs if the alias does not exist.
When canceling an alias (HCancelAlias
), the modifications performed by HChangeName
are not canceled. If the alias is described again, these parameters are stored and re-applied.