You don't need the second connection, unless you want to have concurrent transactions.
In the setDatabaseName():
Qt Code:
db.setDatabaseName("DRIVER={Microsoft Access Driver (*.mdb)};FIL={MS Access};DBQ=myaccessfile.mdb");To copy to clipboard, switch view to plain text mode
Bookmarks