Subject Re: [IBO] TIB_Components.pas Problem
Author Andreas Pohl
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