I am newbie in Delphi and try to learn everyday something new!
A friend of mine advise me to use Zeos tools and sqlite for my first (little) project!
Zeos Lib are marvelous and are easy to use (great for me )!
First : i use Delphi 7, ZeosLib 6.5.1(alpha) (Dec 2005), and Sqlite 2.8 (waiting for new release of zeos adding the 3.0 DB :p ).
My DB contain 2 tables: Article(id, name, id_tva), TVA(id, val)
Article.id is autoincrement and Article.id_tva is Integer;
The program work fine : adding data in table article and tva, reading data from DB!
I add a DBLookupComboBox to form Article who connect Article.id_tva to TVA.id: when i run the prog i get the right result: a list with TVA.val in listbox!
The error comes when I try to change a valu in the listbox for an article, a fatal error came withe this message :
I search in the forum (and others) but don t find where is the mistake!raised exception class EDatabaseError with message cannot access field 'id_tva' type Variant
Can someone help me please! I am newbie and want to progress!
Thanks and excuse me for my bad english (I talk better in French).