|
|
|
|
<Connection variable>.InfoFile (Function) In french: <Variable Connexion>.InfoFichier
Available only with these kinds of connection
Returns the characteristics of an HFSQL Classic or Client/Server data file.
// 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 is not found on the drive.
<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: | | hFicSize | Size of data file in bytes (".Fic" file). | hFtxSize | Size of full-text index file in bytes (".Ftx" file). | hMmoSize | Size of memo file in bytes (".Mmo" file). | hNdxSize | Size of index file in bytes (".Ndx" file). | hTotalSize | Total data file size in bytes (cumulative size of data file, memo file and index file). |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|