Subject Save a query satus
Author likemike46
Hello friends,

I wan't to save the status of an IBOQuery (SQL, Params) and want to
reload it later.

For saving I use

VAR SaveParams : TParams;
:

WITH Query1 DO BEGIN
SaveSQL:=SQL.Text;
SaveParams:=TParams.Create; SaveParams.Assign(Params);
END;

for loading I use

WITH Query1 DO BEGIN
Close;
SQL.Text:=SaveSQL;
Params.Clear;
Params.AssignValues(SaveParams); SaveParams.Free;
Open;
END;


The problem is, that the Params are not correct.
This has worked with BDE, but not with IBO.
Any suggestions are welcome.

Best regards
Mike