Subject Re: [IBO] tib_grid display on query rerun
Author Jason Wharton
> 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.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com