DISCONNECT (Short Name: DISC)
Top  Previous  Next

Use the DISCONNECT command to write any modifications of the currently open database to disk, then close the database.

disconne

About the DISCONNECT Command

Use the DISCONNECT command before copying database files, or when you want to leave the open database without opening another database. If you keep your database on a floppy disk, use DISCONNECT to close the database before you remove the floppy disk.

The CONNECT and EXIT commands also close an open database. For more information about these commands, see the "CONNECT" and "EXIT" entries.

If transaction processing is on when you execute DISCONNECT, R:BASE COMMITs (saves) any open transactions.

Example

The following command closes an open database:

DISCONNECT