LOTUSSCRIPT/COM/OLE CLASSES
Creates an empty copy of the current database.
Defined in
NotesDatabase
Syntax
Set notesDatabaseNew = notesDatabase.CreateCopy( newServer$, newDbFile$ [, maxsize% ] )
Parameters
newServer$
Note This parameter is new with Release 5.
notesDatabaseNew
If a database with the specified file name already exists on the newServer$, an error occurs.
The copy contains the design elements of the current database, an identical access control list, and an identical title. It does not contain any documents.
The copy is not a replica.
The ACL of the original database gets copied to the new database, but you may want to modify the copy ACL. For example, you may want Manager access to the copy for yourself even if you're not a manager of the original. Use the methods GrantAccess and RevokeAccess to modify the copy's ACL.
Language cross-reference
createCopy method in Java Database class
@Command([FileDatabaseCopy]) function in formula language
Example See Also