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
HInfoFileProperty (Function)
In French: HInfoPropriétéFichier
HFSQL Client/ServerAvailable only with this kind of connection
Used to find out the properties of a data file found on a HFSQL server.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 22 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
New in version 22
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
Example
// Describe the connection
HDescribeConnection("MyConnection", "Julia", "Password", ...
"MyHFServer", "MyDatabase", ...
hAccessHFClientServer, hORead)
// Open the connection
HOpenConnection("MyConnection")
...
OwnerName is string
OwnerName = HInfoFileProperty("MyConnection", hOwner, ...
"MyDatabase", "Customer.fic")
IF OwnerName <> "" THEN
Trace("Database owner:" + OwnerName)
END
Syntax
<Result> = HInfoFileProperty(<Connection Name> , <Property> , <Database Name> , <File Name>)
<Result>: Character string
  • Value of requested property,
  • Empty string ("") if an error occurred.
<Connection Name>: Character string (with or without quotes)
Name of the connection for which the value of a property is requested. This connection was defined in the data model editor, or by HDescribeConnection or HOpenConnection.
<Property>: Integer constant
Requested file property:
hApplicationName of the application from which the data file was created.
If this constant is used, <Result> is a character string using the following format: <Executable Name>(<Project Name>).
hCreatorName of file owner.
If this constant is used, <Result> is a character string.
hDateCreation date of the data file.
If this constant is used, <Result> is a character string in the following format: YYYYMMDDHHMMSSCCC.
hComputerName of the computer from which the data file was created.
If this constant is used, <Result> has the following format: <Name of Client Computer> + TAB + <IP Address of Client Computer>.
hNotesDescription of data file or any other information associated with the data file by HModifyFileProperty.
If this constant is used, <Result> is a character string.
hOwnerOwner of data file.
If this constant is used, <Result> is a character string.
<Database Name>: Character string (with or without quotes)
Name of the database containing the file whose properties are requested. If this parameter corresponds to an empty string (""), the database defined in the connection will be used. A WLanguage error occurs if no database is defined in the connection.
<File Name>: Character string (with or without quotes)
Name of the HFSQL file whose properties are requested. The file extension must be specified.
Remarks
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Windows Mobile wp230hf.dll
Java wd230java.jar
Linux wd230hf.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment