Subject Re: [IBO] OnPrepareSQL
Author Paul Vinkenoog
Hello Marcus,

> I am in the middle of building a search screen that will be used in
> the OnPrepareSQL event. The only problem I have is that the
> OnPrepareSQL only gets called the once, when I open the IB_Query.
> I've had a look at the SearchLinks example and I can't see what is
> different between my app that the example app.
>
> Anyone got any hint/tips?

Call InvalidateSQL, then Refresh. This will cause the SQL to be
rebuilt and OnPrepareSQL to be called.

You can leave Refresh out if you know something else is going to
happen soon that will cause your query to send its SQL to the server.

Greetings,
Paul Vinkenoog