Subject | Re: [IBO] TIB_Quert property Ordering Items |
---|---|
Author | Geoff Worboys |
Post date | 2001-03-03T07:24:09Z |
> I then delete the Order By Bookref stastement then I followI believe this should go in the OnPrepareSQL handler - Similar to the
> Jasons suggestion and enter the following code in the
> Beforeprepare event
>
> "sqlLookBook.SQLOrder.add('BookRef');"
example of adding SQLWhereItems in the Contact sample application.
> What am I missing ?If the requirements for these properties can be determined at
> Should I be setting the OrderingItems,OrderItemNo or
> OrderingLinks properties ?
designtime, then the Ordering* properties are certainly the easier way
of managing and changing Order.
SQLWhereItems, SQLOrder etc should really only be necessary for items
that can only be determined at runtime.
HTH
Geoff Worboys
Telesis Computing