Receives a database as a parameter and disconnects the current connection of that database. The DbDiscnt function is relevant only for SQL databases.
Disconnecting is only allowed if there is no cursor open on the database that you are trying to disconnect from. If there is a cursor open and the user issues a DbDiscnt command, an error message will be displayed.
Allows the developer to disconnect the current database connection in order to: