Tech Tip: Closing an ODBC connection using OC LOGOUT
PRODUCT: 4D ODBC | VERSION: 6.5 | PLATFORM: Mac & Win
Published On: January 26, 2001
If you create one or more connections using the OC Create Cursor command and execute the OC LOGOUT command to terminate the connection, the connection is terminated between 4D and the server but the cursor is not deleted.
To properly close an ODBC connection you should use the following commands in sequence:
* OC DROP CURSOR to delete the cursor
* OC Logout to close the actual connection
4D ODBC