Search found 2 matches

by hehe169
18.02.2013, 11:17
Forum: ZeosLib 7.0 Stable Forum
Topic: Zquery have problem when passing parameter
Replies: 3
Views: 843

I use mysqld-5 protocol.

When complie, there have warning meesage like this :

[DCC Warning] ZExprToken.pas(388): W1063 Widening given AnsiChar constant (#$BF) to WideChar lost information

Any idea?
by hehe169
18.02.2013, 10:06
Forum: ZeosLib 7.0 Stable Forum
Topic: Zquery have problem when passing parameter
Replies: 3
Views: 843

Zquery have problem when passing parameter

Hi, I have facing a problem on XE2 with zquery, the coding as below: zquery1.Active:=false; zquery1.SQL.Clear; zquery1.SQL.Add('select * from employee_master where employeeno=:p1'); zquery1.ParamByName('p1').value:='ST001'; zquery1.Active:=true; The runtime error comes out Zquery1 : Parameter p1 not...