Subject | Re: [IBO] KeyLinks |
---|---|
Author | Matt Nielsen |
Post date | 2003-06-06T23:16:03Z |
The InvalidateBookmark doesn't call that event unfourtunatly.
--- In IBObjects@yahoogroups.com, Markus Ostenried <chef_007@g...>
wrote:
--- In IBObjects@yahoogroups.com, Markus Ostenried <chef_007@g...>
wrote:
> At 22:14 Friday, 06.06.2003 +0000, you wrote:statement
> >Is there a way to manually add the WHERE clause to the SQL
> >that InvalidateBookmark will use at the last posible moment via anthan
> >event or other? I want to customize the WHERE clause to be more
> >just the KeyLinks = KeyFields.Value.what
>
> Hi,
>
> have a look at the help for the OnPrepareSQL event. Maybe that's
> you're looking for. Usage is quite simple:IB_Query1.SQLWhereItems.Add(
> In the event add your where criteria like
> 'FIELD = ''VALUE''' ); If you want the where items to be updatedjust call
> IB_Query1.InvalidateSQL;
> IB_Query1.Refresh;
>
> HTH,
> Markus