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
<Connection variable>.InfoFile (Function)
In french: <Variable Connexion>.InfoFichier
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
Returns the characteristics of an HFSQL Classic or Client/Server data file.
Example
// Get the size of a data file by using a connection
 
// Connection parameters
CntTest is Connection
CntTest.Provider = hAccessHFClientServer
CntTest.User = "admin"
CntTest.Password = "pass_admin"
CntTest.Server = "server:4930"
CntTest.Database = "TestDatabase"
 
Trace("Total size of Customer file: " + ...
CntTest.InfoFile("FileName.FIC", hTotalSize))

Finding out information regarding an HFSQL Client/Server data file Hide the details

<Result> = <Connection>.FileInfo(<Data file> , <Information>)
<Result>: Type of the requested information
  • Requested information,
  • 0 if the connection exists but the data file does not exist on the disk.
<Connection>: Connection variable
Name of the Connection variable that describes the connection to use.
<Data file>: Character string
Physical name of the data file to analyze.
<Information>: Integer constant
Requested information about the data file:
hFicSizeData file (".Fic") size in bytes.
hFtxSizeFull-text index file (".Ftx") size in bytes.
hMmoSizeMemo file (".Mmo") size in bytes.
hNdxSizeIndex file (".Ndx") size in bytes.
New in version 2024
hSdxSize
Spatial index file (".Sdx") size in bytes.
hTotalSizeTotal data file size in bytes (cumulative size of data file, memo file and index file).
Component: wd290hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/19/2024

Send a report | Local help