Subject Re: [IBO] tib_grid display on query rerun
Author Thomas Steinmaurer
""Jason Wharton"" <jwharton@...> schrieb im Newsbeitrag
news:0a8101c19f9c$7dd23fd0$dc756a41@CX170673E...
> > Explicitly prepare your query in the OnPrepareSQL event when using
> > parameterized queries.
> >
> > e.g. in the OnPrepareSQL event:
> >
> > SQLWhereItems.Add('ID = :P_ID');
> > ....
> > Prepare;
> >
> > Or if you don't use parameterized queries, then simply build
> > your WHERE clause without calling TIB_Query.Prepare.
>
> No, do NOT call Prepare in the OnPrepareSQL event. It is already in the
> process of being prepared at that point.

Hmm, I've this out of the IBO GSG ?!?!

Thomas