QT SQL DATABASE LOGIN
-
Hi,
That's the kind of constraints that should be done at the database level.
Your database structure might also be too simple in the sense that if can be pretty easy to get duplicated data with small typos. -
In any case, when a query goes wrong (if that's what's happening), use https://doc.qt.io/qt-5/qsqlquery.html#lastError to print out the text of the error.
Have you done this yet?
-
@GREYON said in QT SQL DATABASE LOGIN:
@SGaist
Now what are you suggesting items of help?What experience do you have with relational database design ?
-
@GREYON said in QT SQL DATABASE LOGIN:
@SGaist
Now what are you suggesting items of help?What experience do you have with relational database design ?
-
Well, in that case you should start by learning a bit more about them before going further. At least take the time to go through Qt's SQL module documentation and examples.
-
Well, in that case you should start by learning a bit more about them before going further. At least take the time to go through Qt's SQL module documentation and examples.
-
@GREYON Then please mark this topic as solved, thx.
-
@GREYON Then please mark this topic as solved, thx.
@Christian-Ehrlicher
Okay , thanks for the information,but am new here,how can it mark as solved please?