QSqlDatabase db = QSqlDatabase::addDatabase ("QODBC3");
QSqlDatabase db = QSqlDatabase::addDatabase("QODBC"); db.setDatabaseName("DRIVER={Microsoft Access Driver (*.mdb)};FIL={MS Access};DBQ=" + FileName);
// Запрашиваем кол-во записей query.exec("select count(*) from table"); if (!query.isActive()) { QMessageBox::warning(0, "Database Error", query.lastError().text()); }
'dbtool.exe': Loaded 'C:\WINDOWS\system32\odbcji32.dll', Cannot find or open a required DBG file.
HKEY_CURRENT_USER\Software\Trolltech\OrganizationDefaults