PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

This content comes from an automatic translation.
  • Miscellaneous
  • HDeclare on the analyses of 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
HDeclare (Function)
In french: HDeclare
ODBCNot available with this kind of connection
Declares a description of data file (found in an analysis) in the current project. This import is temporary and it can be canceled by HCancelDeclaration.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 24 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 24
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
// Declaration of a data file SupplierWD based on the GESTCOM analysis
HDeclare("Supplier", "\Examples\SalesMgt\SALESMGT.WDD", "", "SupplierWD")
Syntax
<Result> = HDeclare(<Data file> , <Full path of WDD> [, <WDD password> [, <Alias> [, <Options>]]])
<Result>: : Boolean
  • True if the operation was performed,
  • False if a problem occurred. HError is used to identify the error.
<Data file>: Character string (with quotes)
Logical name of the data file to import, used in the external analysis.
<Full path of WDD>: Character string (with quotes)
Full access path to the analysis file (.WDD file) containing the description of the HFSQL data file to import (up to 260 characters).
This file can correspond to a WDD file created by an earlier version of WINDEV or WEBDEV.
<WDD password>: Optional character string (with quotes)
  • Password associated with the analysis.
  • Empty string ("") if no password is used.
<Alias>: Optional character string (with quotes)
Logical name of the data file, used to handle the data file. By default, this name corresponds to <Data file>.
This parameter is necessary if the current analysis already contains a data file with the logical name <Data file>, or if a file <Data file> has been described by the functions HDeclareExternal or HDescribeFile.
<Options>: Optional integer constant
Search options:
hDisk
(Default value)
The <Full path of WDD> analysis is sought on the disk (most common case).
hWDLThe <Full path of WDD> analysis is sought according to the following priorities:
  1. In the main library (.WDL file)
  2. In the different libraries according to the load order, then on disk.
  3. In the main library of the component.
  4. In the secondary libraries of the component according to the load order.
Remarks

Miscellaneous

  • There is no need to have an analysis linked to the current application to import a description of data file.
  • All the HFSQL functions can be used on the imported data file except for the integrity management.
  • You can import as many descriptions as necessary.
  • This function allows you to use data files described in the earlier WINDEV and WEBDEV analyses (WINDEV 4.1 to 5.5, WEBDEV 1.0 and 1.5).
WINDEVWEBDEV - Server codeWindowsHyper File 5.5

HDeclare on the analyses of earlier versions

The Hyper File engine version 4.1 to 5.5 not being able to operate without an opened analysis (unlike the HFSQL Classic engine), the analysis of the first data file accessed in opened in the Hyper File 5 engine.
An alias name must be used to access a data file with the following characteristics:
  • data file of another analysis.
  • data file with the same logical name as one of the data files found in the opened analysis.
Caution: The data files described in the earlier WINDEV and WEBDEV analyses (WINDEV 4.1 to 5.5, WEBDEV 1.0 and 1.5) are handled by the Hyper File engine version 5.5: WD553HF.DLL.
This module exists in 32-bit version only.
Therefore, an application that must view data in format 5.5 (or earlier) must:
  • necessarily be compiled in 32-bit mode (and not in 64-bit mode),
  • limit its capabilities to the ones available in WINDEV version 5.5. For example, the hWDL constant did not exist in version 5.5: therefore, it cannot be used on a Hyper File 5.5 file.
Related Examples:
WD External file Training (WINDEV): WD External file
[ + ] This program, powered by WINDEV, explains how to handle files not described in the analysis.
You have the ability ot use the WLanguage functions named HDeclare or HDeclareExternal.
The differences of behavior regarding these two declaration modes of the file are highlighted in this example.
Component : wd250hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment