PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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
<Connection variable>.InfoFile (Function)
In french: <Variable Connexion>.InfoFichier
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
Returns the characteristics of an HFSQL Classic or Client/Server data file.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 22 and later
Java This function is now available for Java applications.
New in version 22
Java This function is now available for Java applications.
Java This function is now available for Java applications.
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>.InfoFile(<Data file> , <Information>)
<Result>: Type of the requested information
  • Requested information,
  • 0 if the connection exists but the data file is not found on the drive.
<Connection>: Connection variable
Name of the Connection variable that describes the connection to use.
<Data file>: Character string (with quotes)
Physical name of the data file to analyze.
<Information>: Integer constant
Requested information about the data file:
hFicSizeSize of data file in bytes (".Fic" file).
Versions 14 and later
hFtxSize
New in version 14
hFtxSize
hFtxSize
Size of full-text index file in bytes (".Ftx" file).
hMmoSizeSize of memo file in bytes (".Mmo" file).
hNdxSizeSize of index file in bytes (".Ndx" file).
hTotalSizeTotal data file size in bytes (cumulative size of data file, memo file and index file).
Component: wd260hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment