PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

This content comes from an automatic translation.
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
HInfoDatabaseProperty (Function)
In french: HInfoPropriétéBaseDeDonnées
HFSQL Client/ServerAvailable only with this kind of connection
Allows you to know the properties of a database located on a HFSQL server. Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 22 and later
iPhone/iPad This function is now available for 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 Android applications.
WINDEVJava This function is now available for the Java applications.
New in version 22
iPhone/iPad This function is now available for 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 Android applications.
WINDEVJava This function is now available for the Java applications.
iPhone/iPad This function is now available for 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 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 = HInfoDatabaseProperty("MyConnection", ...
hOwner, "MyDatabase")
IF OwnerName <> "" THEN
Trace("Owner of the database: " + OwnerName)
END
Syntax
<Result> = HInfoDatabaseProperty(<Connection> , <Property> , <Database>)
<Result>: Character string
  • Value of requested property,
  • Empty string ("") if an error occurred.
<Connection>: Character string (with or without quotes) or Connection variable
Connection for which the value of a property is searched. This connection corresponds to:
<Property>: Integer constant
Property to get from the database:
hApplicationName of the application from which the database was created.
If this constant is used, <Result> is a character string using the following format: <Executable name>(<Project name>).
hCreatorName of the database creator. This information has no influence.
If this constant is used, <Result> is a character string.
hDateCreation date of the database.
If this constant is used, <Result> is a character string in the following format: YYYYMMDDHHMMSSCCC.
hComputerName of the computer from which the element was created.
If this constant is used, <Result> has the following format: <Name of client computer> + TAB + <IP Address of client computer>.
hNotesDescription of the database or any other information associated with the database using the HModifyDatabaseProperty function.
If this constant is used, <Result> is a character string.
hOwnerOwner of the database.
The owner is the one who owns the database. The owner of a database can be modified by HModifyDatabaseProperty.
If this constant is used, <Result> is a character string.
<Database>: Character string (with or without quotes)
Name of the database 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.
Remarks
To change the properties of a database, use the HModifyDatabaseProperty function.
Component : wd250hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment