Subject | [IBO] Re: application using up ram |
---|---|
Author | Michael Vilhelmsen |
Post date | 2004-03-05T11:41:25Z |
> I haven't read every mail between you and Helen, so if I amcommenting
> things that's already been settled then I'm sorry for that.ALL my TIB_DSQL are called like this:
>
> >changing every TIB_DSQL back helped.
>
> What are the different calls you use for the TIB_DSQL? Using
>
> TIB_DSQL1.Prepare; //done before any loop
> TIB_DSQL1.ParamByName...
> TIB_DSQL1.Params...
> TIB_DSQL1.Execute;
> TIB_DSQL1.ExecSQL;
>
MyDSQL.ParamByName(......
MyDSQL.ParamByName(......
MyDSQL.ParamByName(......
MyDSQL.ExecSQL;
Commit;
My DSQL only contains Insert, Update or Delete.
Nothing else.
Thats why I switched to these.
> should work OK, whereas you should avoid things likeThis I never do.
>
> TIB_DSQL1.Open;
> TIB_DSQL1.First;
> TIB_DSQL1.FieldByName...
> TIB_DSQL1.Eof
Then I use either a TIBOQuery or TIB_Cursor.
Michael