Subject RE: [IBO] setting the parameters of a IB_Cursor
Author Norman Dunbar
I might be wrong, being mostly C++ builder, but shouldn't the assignment be

cursorname.ParamByName('Klasnaam')AsString :='test';

??

Regards,
Norman.


-------------------------------------
Norman Dunbar
Database/Unix administrator
Lynx Financial Systems Ltd.
mailto:Norman.Dunbar@...
Tel: 0113 289 6265
Fax: 0113 289 3146
URL: http://www.Lynx-FS.com
-------------------------------------


-----Original Message-----
From: Bert Neef [mailto:bert@...]
Sent: Wednesday, January 16, 2002 11:27 AM
To: IBObjects@yahoogroups.com
Subject: [IBO] setting the parameters of a IB_Cursor


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



___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

This email is intended only for the use of the addressees named above and
may be confidential or legally privileged. If you are not an addressee you
must not read it and must not use any information contained in it, nor copy
it, nor inform any person other than Lynx Financial Systems or the
addressees of its existence or contents. If you have received this email
and are not a named addressee, please delete it and notify the Lynx
Financial Systems IT Department on 0113 2892990.