CasewareDocs
New in Caseware Cloud EngagementsSee what's new

Close

Closes the database previously opened or created with the Open command.

Compatibility

Available as of IDEA version 9.0

Syntax

Close

Example

Sub Main

Set CreateDatabase = SmartContext.MacroCommands.CreateDatabase

'Open existing database and append records to it.
CreateDatabase.Open "NewTestDatabase.IMD"
CreateDatabase.AppendRecord "1111;Create Database Test1"
CreateDatabase.AppendRecord "2222;Create Database Test2"
CreateDatabase.AppendRecord "3333;Create Database Test3"

'Close the database
CreateDatabase.Close

'Release objects
Set CreateDatabase = Nothing

End Sub