Hi, I'm new in Lazarus programming and I have troubles manipulating SQL database with Lazarus.
I am trying to create a small program that inserts a new row in an existing table grupist, the code I use is:
procedure TForm1.Button1Click(Sender: TObject);
begin
SQLQuery1.SQL.Text:='insert into grupist (kod,name) values (12,'+ Edit1.Text + ')';
SQLQuery1.ExecSQL;
end;
but when I execute my application I get the following message: 'MySQL50Connection1: Error executing query: Unknown column 'ZZZZZ' in field list'
Please tell me what should I do to fix this error.
Thanks
