Subject Re: [IBO] OrderingItems, Orderlinks and IB_Grid color
Author Andreas Pohl
Arnd,

try to change this:

OrderingItems:

Form=FORM,FIELD
Field=FIELD; field desc // descending order (just a hint)

OrderingLinks:

Form=1
Field=2

Than everything should work as expected.

Mit freundlichem Gruss & Best Regards

Andreas Pohl
apohl@...
www.ibp-consult.com
----- Original Message -----
From: "Arnd Brockmeier" <arndbrockmeier@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, July 25, 2001 10:41 AM
Subject: [IBO] OrderingItems, Orderlinks and IB_Grid color


> Hi Group,
>
> the IB_Grid (color/sorting symbols) doesn´t follow the real sorting of my
> IB_Query
>
> I´m using a IB_Query with this settings:
>
>
> OrderingItems:
>
> Sort1=FORM,FIELD
> Sort2=FIELD
>
> OrderingLinks:
>
> FORM=1
> FIELD=1
> FIELD=2
>
> SQL:
> SELECT * FROM ResText
>
> With this Query is a IB_Grid connected (via IB_Datasource).
>
> After
> -> IB_Query1.OrderingItemNo := 1
> the FORM and FIELD columns are colored and the bitmap shows on both
columns
> the sorted-symbol (arrow up) and the data is sorted.
> Changing
> -> IB_Query1.OrderingItemNo := 2
> the data is sorted right, but
> the Grid doesn´t change the color of the FORM-column. Both columns are
still
> marked as sorted. Only both sorted-symbols are changed to unsorted (small
> line).
>
> Toggle between ItemNo 1 and 2 doesn´t change this behavier!
>
> Am I missing something?
>
> Bye
> Arnd
>
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @... address at http://mail.yahoo.com
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>