[bug_fixed] Problem With ParambyName('workingvar').asString
Posted: 22.09.2010, 07:07
ZQuery1.SQL.Text := 'select * from fpusers where username=:wuser';
ZQuery1.Prepare;
ZQuery1.ParamByName('wuser').asString := Edit1.Text;
ZQuery1.Open;
make an error
ZQuery1.SQL.Text := 'select * from fpusers where username=:wuser';
ZQuery1.Prepare;
ZQuery1.ParamByName('wuser').value := Edit1.Text;
ZQuery1.Open;
This syntaxe is Ok
How to resolve this problem
thank you for help
ZQuery1.Prepare;
ZQuery1.ParamByName('wuser').asString := Edit1.Text;
ZQuery1.Open;
make an error
ZQuery1.SQL.Text := 'select * from fpusers where username=:wuser';
ZQuery1.Prepare;
ZQuery1.ParamByName('wuser').value := Edit1.Text;
ZQuery1.Open;
This syntaxe is Ok
How to resolve this problem
thank you for help