Function EN Version 5.00

@GetDBVersion

Database

Syntax

@GetDBVersion(DBHANDLE1);
@GetDBVersion(DBHANDLE1;FNRETMINVERSION);

Description

Returns the FN major version (ODS version) of the database with the DBHANDLE DBHANDLE1.
In the optional parameter FNRETMINVERSION the minor version of the database is returned.

Example: @GetDBVersion(DBHANDLE1)

DBHANDLE1:=@OpenDB("TEST.NSF");
MajorVersion:=@GetDBVersion(DBHANDLE1;MinorVersion);
DBHANDLE1:=@CloseDB(DBHANDLE1);

The database is opened, the major version is assigned to the variable MajorVersion, and the minor version is assigned to the variable MinorVersion.

Note : This text was machine-translated and may contain inaccuracies.