[Lazarus] Newbe sqlite problem

Paul van der Vlis paul at vandervlis.nl
Mon May 26 21:23:28 CEST 2008


Joost van der Sluis schreef:
> Op maandag 26-05-2008 om 20:01 uur [tijdzone +0200], schreef Paul van
> der Vlis:
>>   query := 'Update xxx set ATCSTATUS = 1 where ATC NOT NULL;';
>> //  query := 'select * from xxx where ATC NOT NULL;';
>>   xxxDataset.SQL := query;
>>   xxxDataset.Open; 
> 
> You can not open an update-query. Use something like 'xxDataset.ExecSql'
> instead.

Thanks, it seems to work!

Do you know documentation about sqlite in Lazarus?
(Or do I need a Delphi book?)

With regards,
Paul van der Vlis.




-- 
http://www.vandervlis.nl/




More information about the Lazarus mailing list