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 found.
The above coding under Delphi 6,7 with Zeoslib 6.6 is ok, but now have error, please help, thanks
**remark : development is under Window XP with service pack 3**
Zquery have problem when passing parameter
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
hehe169,
Which protocol do you use here? This is strange our current tests don't show me something like that.
Which protocol do you use here? This is strange our current tests don't show me something like that.
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
I'll test it..I use mysqld-5 protocol.
Seems like a Unicode mapping issue on you current CodePage. Hmm no idea i have no such warning..[DCC Warning] ZExprToken.pas(388): W1063 Widening given AnsiChar constant (#$BF) to WideChar lost information
Any idea?
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/