[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
AX_GetInstallInfo()
Returns Advantage Database Server installation information
------------------------------------------------------------------------------
Syntax
AX_GetInstallInfo() -> array
Returns
Returns an 8 element array with Advantage Database Server installation
information containing the following data:
[1] = (numeric) Advantage user option purchased
[2] = (string) Registered owner
[3] = (string) Advantage Database Server version
[4] = (string) Installation date
[5] = (string) OEM/Localized character set
[6] = (string) ANSI character set
[7] = (string) Evaluation unit expiration date
[8] = (string) Advantage Database Server serial number
- or -
Returns an empty array if an error occurred. If an error occurred,
AX_Error() will return information on why the function failed.
Description
AX_GetInstallInfo() returns an array containing Advantage Database Server
installation information such as the Advantage Database Server version
and the installation date.
It is possible that the number of elements in the returned installation
information array will increase in future releases of Advantage. Since
it is possible to use a newer version of the Advantage Database Server
with an older version of the Advantage CA-Clipper Client, any new and
additional installation data that may exist if using a newer version of
the Advantage Database Server will not be returned in the returned array.
Since it is possible that the number of elements in the installation
information array will increase in future releases of Advantage, it is
highly recommended that the length of the returned array be calculated
using the Len() function, rather than hard-coding the expected length to
a literal value.
Example
// Must first get a connection to the Advantage Database Server
USE x:dummy.dbf VIA "DBFCDXAX"
aInstallInfo := AX_GetInstallInfo()
// Display all installation info
for i := 1 to Len( aInstallInfo )
? aInstallInfo[i]
next
Online resources provided by: http://www.ClipX.Net --- NG 2 HTML conversion by Dave Pearson