filecataloger.com > Script > Function -- UpgradeDB

UpgradeDB Function

Remarks:
Upgrade the specific file catalog database to the current version database.
Syntax:

UpgradeDB(DBPath)

Arguments:
Name Description
DBPath the specific file catalog database path to upgrade.
 
return value:
Value Description
True Upgrading is successfully.
Fail Upgrading is failed.
example:

Dim DBPath
DBPath = "c:\sample.fdb"

CreateDB(DBPath)

Dim IsOK
IsOK = UpgradeDB(DBPath)

If IsOK Then MsgBox "The execution of UpgradeDB Function is successful!"

   
See Also:
 
©2008 Greendgh Software. All rights reserved. Privacy statement