Subject | Re: [IBO] TIB_Components.pas Problem |
---|---|
Author | Hans |
Post date | 2005-11-22T14:49:03Z |
Hello Andreas,
I'm using TIBOQuery and TIBUpdateSQL only and non of the native TIB_
components.
My little 'fix' allowed me to use these without any additional calls, and
have them behave
like their TQuery and TUpdateSQL cousin components.
Have a great day
Hans
I'm using TIBOQuery and TIBUpdateSQL only and non of the native TIB_
components.
My little 'fix' allowed me to use these without any additional calls, and
have them behave
like their TQuery and TUpdateSQL cousin components.
Have a great day
Hans
----- Original Message -----
From: "Andreas Pohl" <apohl@...>
To: <IBObjects@yahoogroups.com>
Sent: Tuesday, November 22, 2005 3:19 AM
Subject: Re: [IBO] TIB_Components.pas Problem
> Hallo Hans,
>
>> Boy, that took me a while, bald now, but I did find it :)
>
> right now I've got some trouble in this area, too...
>
>> TIB_Components is throwing an address exception
>> in the procedure
>> TIB_Statement.SysRestoreParamValueLinks;
>
> To avoid such exceptions by calling
> TIB_Statement.SysRestoreParamValueLinks it's a good idea to call
> TIB_Query.OldParamValueLinks.Clear; in case of reusing of queries with
> different parameters, e.g.
>
> with IB_Query1 do begin
> OldParamValueLinks.Clear;
> if not Prepared then Prepare;
> Params.BeginUpdate;
> Params.ByName('von_tpl').AsDateTime:=DateTime1;
> Params.ByName('bis_tpl').AsDateTime:=DateTime2;
> Params.EndUpdate(true);
> end;
>
> I think SysRestoreParamValueLinks could be a published property of
> TIB_Statement.
>
> --
> Andreas
>
>
>
>
> ___________________________________________________________________________
> 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 !
> Yahoo! Groups Links
>
>
>
>
>
>