Is it normal for bugs like this to stay open for so long ? It doesn't seem like a trivial one too : you just can't use a QDatawidgetmapper with a qsqltablemodel.
Question : what is everybody else doing when they make a form with fields to be filled in in an sql table ?
I'm sure there must be a better way then manually coding all the 'update' queries for all the fields (which I used to do, but I'm looking for an easier way).
Best regards,
Marc
P.S. By the way, the previous 'solution' of mine doesn't work. It's kind of weird. All the data appears to be saved : when you go to another record and back, all the new data is shown on the form. Everything seems fine too when you edit more records. BUT... NOTHING IS EVER WRITTEN TO THE DATABASE ! When I close the program and open it again, none of the changes are present.
Bookmarks