Database.Close
From Real Software Documentation
Method
Database.Close ( )
Closes or disconnects the database.
Notes
Real Studio does not issue a Commit for you when the database closes.
Some databases will automatically Commit changes in a transaction when you disconnect and some database will automatically Rollback changes in a transaction when you disconnect. Refer to the documentation for your database to check what its behavior is.
Example
The following is the App.Close event handler in the Orders example database that is in the Examples folder that ships with Real Studio.
// The application is being closed. We will now close our connection to
// the database.
OrdersDB.Close
// the database.
OrdersDB.Close
