User`s guide
Microsoft Access ODBC for Windows
2-21
Connect to Microsoft Access using the native ODBC connection command line.
1
Connect to the database with the ODBC data source name. For example, the
following code assumes you are connecting to a data source named dbtoolboxdemo
with user name admin and password admin.
conn = database.ODBCConnection('dbtoolboxdemo','admin','admin');
2
Close the database connection conn.
close(conn)
Connect to Microsoft Access using the ODBC connection command line.
1
Connect to the database with the ODBC data source name. For example, the
following code assumes you are connecting to a data source named dbtoolboxdemo
with user name admin and password admin.
conn = database('dbtoolboxdemo','admin','admin');
2
Close the database connection conn.
close(conn)