arimaniac
1st February 2011, 19:17
Hello guys...
One question of faith... :P
I wrote an application that uses QSqlTableModel to access MySQL, add, insert, delete, update records in several tables etc etc etc...
How do I get the default values for each table after I use the insertRow() to insert new records
AS THEY ARE specified in MySQL...
In other words:
I need to read those values from MySQL, NOT to set them programmatically
within Qt (i.e setData)....
Does this functionality even exist???
Thanks
Aris
One question of faith... :P
I wrote an application that uses QSqlTableModel to access MySQL, add, insert, delete, update records in several tables etc etc etc...
How do I get the default values for each table after I use the insertRow() to insert new records
AS THEY ARE specified in MySQL...
In other words:
I need to read those values from MySQL, NOT to set them programmatically
within Qt (i.e setData)....
Does this functionality even exist???
Thanks
Aris