Subject Re: [IBO] Error in convert BDE - IBO
Author Jason Wharton
Set the DataSource prior to calling ParamByName().

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com

-- We may not have it all together --
-- But together we have it all --


----- Original Message -----
From: "Virtual Memory" <virtual@...>
To: "IBO" <IBObjects@yahoogroups.com>
Sent: Tuesday, November 05, 2002 10:11 AM
Subject: [IBO] Error in convert BDE - IBO


> With TIboQuery do Begin
>
> Close;
>
> SQL.Strings[5] := 'L010_L265_CATEGORIA = :L265_CATEGORIA';
>
> ParamByName('L265_CATEGORIA').DataType := ftString;
>
> ParamByName('L265_CATEGORIA').ParamType := ptInput;
>
> DataSource := DsQryCat;
>
> Open;
>
> End;
>
>
>
> In this example, the property DataType and ParamType assimilated to the
Component parameter TIboQuery
>
> it isn't identified, while with BDE worked usually
>
> -*-*-*-*-*-
>
> When there is a Mistake in BDE, the same returns us this mistake in the
following class of Former
>
> (((EDBEngineError))), that isn't also identified when it is using Ibo's
components
>
>
> Flavio Macedo :.