filecataloger.com > Script > Function -- ExportToDB

ExportToDB Function

Remarks:
Export a independent catalog group to a new file catalog database.
Syntax:

ExportToDB(CatalogGroup, DBPath)

Arguments:
Name Description
CatalogGroup the independent catalog group to be exported.
DBPath the new file catalog database path to export to.
 
return value:
Value Description
True Exporting is successfully.
Fail Exporting is failed.
example:

CreateDB("c:\sample1.fdb")
OpenDB("c:\sample1.fdb")

Set ug = AddUsergroup("UserGroup1", CatalogDB.CatalogRoot)
ApplyAll

Dim IsOK
IsOK = ExportToDB(ug, "c:\sample2.fdb")

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

   
See Also:

ImportFromDB Function

©2008 Greendgh Software. All rights reserved. Privacy statement