I use the trial version of Mydac and i have a problem with an insert query.
On my form i have a Myquery component with these:
Code: Select all
select id1,id2 from DB1.Table1 where id1=4 and id2=1after i have a mycommand component with these:
Code: Select all
insert into DB1.Table2 (id1,Id2,NumLot) values (:Id1,:Id2,'BBB')The probleme is, when i try to execute the sql insert , i have an error
" 'id1' cannot be null "
Sorry for my bad english.