Closes the ODBC database previously opened with odbc_databaseOpen.
odbc_databaseClose ( db_pointer As User, _ Optional ignoreErrors? As Boolean = False ) As Boolean
Argument | Type | Description |
---|---|---|
db_pointer | user | Database reference. This reference should be obtained with the previous call to odbc_databaseOpen |
ignoreErrors? | boolean | Optional; if the argument is True , then database errors are not reported as Intent exceptions; default is False |
Close the connection to ODBC database
This example assumes that you have defined the PEFRESULTS data source
Dim db As User = odbc_databaseOpen( "ODBC;DSN=PEFRESULTS") odbc_databaseClose( db)