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
HInitHF55 (Function)
In French: HInitHF55
HFSQLAvailable only with this kind of connection
Allows you to access specific functions for managing xBase (or dBase) data if Native xBase Access supplied with WINDEV or WEBDEV is not available.
Notes:
  • We advise you to use Native xBase Access supplied 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 an analysis created by WINDEV 5.5.
    An analysis in WINDEV 5.5 format is available in the "Personal\Templates" sub-directory of the setup directory of your product (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.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
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")
HDBCreation()
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.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Linux wd230hf.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment