Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to append a record in Microsoft Access file (.mdb)
Magdy last edited by
hello guys how can i add a record to my access file.
I succeeded to connect to my file but add the data in it is the problem with me. thanks in advanced guys.
Hi and welcome to the forums.
Cant you just use
QSqlQuery query; query.exec("INSERT INTO employee (id, name, salary) " "VALUES (1001, 'Thad Beaumont', 65000)");
and normal SQL ?
Magdy last edited by Magdy
@mrjj thanks for your help it solved the problem