Subject | setting the parameters of a IB_Cursor |
---|---|
Author | Bert Neef |
Post date | 2002-01-16T11:27:03Z |
Hi,
I have a cursor that contains the following sql : Select * from Leerlingen
where (klas=:klasnaam).
when I try to fill in the parameter at runtime I get the following error
(while compiling) [Error] : Left side cannot be assigned to.
I use the following code to assign something to the parameter :
cursorname.ParamByName('Klasnaam'):='test';
I am using delphi 5 professional with IBO 4.2
Any ideas on what I am doing wrong?
Thanks in advance,
Bert Neef
I have a cursor that contains the following sql : Select * from Leerlingen
where (klas=:klasnaam).
when I try to fill in the parameter at runtime I get the following error
(while compiling) [Error] : Left side cannot be assigned to.
I use the following code to assign something to the parameter :
cursorname.ParamByName('Klasnaam'):='test';
I am using delphi 5 professional with IBO 4.2
Any ideas on what I am doing wrong?
Thanks in advance,
Bert Neef