CasewareDocs

DeleteDatabase

DeleteDatabase() is similar to GetRidOf() with the exception that the database header is not corrupted before the database is deleted. If Use Recycle Bin for deleted files check box is selected in IDEA, the database will be moved to the recycle bin, otherwise the database will be deleted permanently.

Compatibility

Available as of IDEA version 10.0

Syntax

DeleteDatabase()

Example

Sub Main() 

Dim mc As Object
Dim SimpleCommands As Object
Set mc = SmartContext.MacroCommands
Set SimpleCommands = mc.SimpleCommands
SimpleCommands.DeleteDatabase ("XYZ.IMD")

End Sub
DeleteDatabase | Caseware Docs