I rewrote code and as I wrote, it is work fine, but only on win.
uses
{$ifdef Linux}
cmem,
{$endif}
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, Buttons,
StdCtrls, crt, SqliteDS, sqldb, ComCtrls, DB;
....
procedure TForm1.Button2Click(Sender: TObject);
begin
popis1.Caption:='INSERT INTO customer';
SqliteDataset1:=TSqliteDataset.Create(nil);
with SqliteDataset1 do
begin
FileName:='pokus.db';
TableName:='customer';
ExecSQL('INSERT INTO customer(cust_firstname,cust_lastname,cust_no) values'+'('''+Edit1.Text+''','''+Edit2.Text+''','''+Edit3.Text+''')');
Destroy;
end;
comboupdate;
end;
on linux nothing insert.