Quote Originally Posted by MarkoSan
But isn't there a QSqlDatabase connection or some other mechanism, which fetches fields names automaticly?
Now it works, thank you very very much! But can you please tell me how to fetch ID of CUSTOMER, which is set to AUTONUMBER in SQL Administrator, but it does not work, since If I add record manualy, the ID does not grow!!