Compacts a local database.
Defined in
NotesDatabase
Syntax
sizeDelta& = notesDatabase.Compact
Return value
sizeDelta&
For more capabilities, see CompactWithOptions.
This method raises an error if the database is not local.
A script cannot compact the current database (the database in which the script is running) or the desktop.dsk file.
Language cross-reference
compact method in Java Database class
@Command([FileDatabaseCompact]) function in formula language
Example