DbDisconnect

ODBC function.

The DbDisconnect function disconnects the last connected ODBC database. Not available in WinTask Lite.

Syntax

DbDisconnect()
or
ret=DbDisconnect()

Return value

Ret, numeric return code. If the database has been disconnected successfully, the function returns 0, otherwise use this return code for error management.

Example

 

DbDisconnect()