JavaScript Editor js editor     Web development 

Main Page

You can close an open database interactively or programmatically.

To close a database

  • Perform one of the following:

    • In the Project Manager, if the node for the database is expanded, collapse the node.


    • In the Project Manager, click the name of the open database, and then Close.


    • In the Database Designer, close the designer window.

    The database closes.

To close a database programmatically

  • Use the CLOSE DATABASES command.

For more information, see CLOSE Commands.

Using CLOSE DATABASES in the Command window does not close a database if the database was opened in the Project Manager by expanding its node or when a form is running in its own data session. Under these circumstances, the database remains open until it is closed in Project Manager or until the form using the database closes.

See Also

JavaScript Editor js editor     Web development