Quote Originally Posted by wysota View Post
What happens if you pass NULL as a value to that field? Does the database generate a correct record for it? I think isAutoValue() will return true only if you first use QSqlField::setAutoValue().
i need only to discover a clean shema from odbc driver mysql , access , sqlite ... ecc

if table is so.....

Qt Code:
  1. CREATE TABLE `BASE_0` (
  2. `ID` int(22) NOT NULL auto_increment,
  3. `LANGUAGE` varchar(100) default NULL,
  4. `PREFIX` varchar(55) default NULL,
  5. `TITLE` varchar(150) default NULL,
  6. `NAME` varchar(100) default NULL,
  7. `FIRST_NAME` varchar(110) default NULL,
  8. PRIMARY KEY (`ID`)
  9. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
To copy to clipboard, switch view to plain text mode 

i like to discover field "ID auto_increment" but i think is impossibel to make a clean dump from table .... driver mysql give a different result shema as odbc...