ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
HInitHF55 (Function)
In french: HInitHF55
HFSQL ClassicAvailable only with this kind of connection
Allows you to access specific functions for managing xBase (or dBase) data if Native xBase Access provided with WINDEV or WEBDEV is not available.
Remarks:
  • We advise you to use Native xBase Access provided with WINDEV.
  • This function is not available when using a stand-alone executable.
To access an xBase file without using the standard Native xBase Access:
  • WINDEV or WEBDEV application without Hyper File 5.5 data file in the analysis:
    You must use a WINDEV 5.5 analysis.
    You will find a WINDEV 5.5 analysis in the "Personal\Models" subdirectory of your IDE installation directory (ForxBase.WDD file). This analysis must be copied into the directory of your project and associated with the project by HInitHF55.
  • WINDEV or WEBDEV application with one or more Hyper File 5.5 data files in the analysis:
    no specific configuration is required.
Example
// WINDEV application without file in WinDev 5.5 format
HInitHF55("C:\File\ForxBase.WDD")
HDBDescribeFile("DBCUSTOMER","CD","C:\FILE\CUSTOMER.DBF")
HDBDescribeField("LASTNAME,C,20")
HDBDescribeField("FIRSTNAME,C,20")
HDBDescribeField("AGE,N,3,0")
HDBDescribeField("BALANCE,N,10,2")
HDBDescribeField("MARRIED,L")
HDBDescribeField("DOB,D")
HDBDescribeField("INFO,M")
HDBCréation()
Syntax
<Result> = HInitHF55(<Full Path of WDD file> [, <Password of WDD file>])
<Result>: Boolean
  • True if no problem occurred,
  • False otherwise. HError returns more details about the problem.
<Full Path of WDD file>: Character string
Access path to the .WDD file of analysis in Hyper File 5.5 format. All the analysis formats recognized by Hyper File 5.5 can be used (WINDEV 5.5B, 5.5, 5.0 and 4.1). This path is taken into account if no analysis is opened or if the opened analysis contains no data file in 5.5 format ("Details" tab of the analysis description).
<Password of WDD file>: Optional character string
  • Password associated with the analysis.
  • Empty string ("") if no password was defined.
Business / UI classification: Business Logic
Component: wd290hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/12/2023

Send a report | Local help