Subject Re: [IBO] Ordering Links Question
Author Lucas Franzen
Alan,

> I'm trying to make a certain action when clicking on the titles of an
> IB_Grid.
> I want the currently selected record to be the retained (the same) after the
> title click (after the sort/reverse sort).
> I seem to have it almost fight - I use the POS=0 clause in the Ordering
> links section.
> I seem to have one query working for the first click but not thereafter, and
> another query/grid with the same settings does not obey this action at all.
> Can someone share the steps required (if this is actually possible) to make
> this action correct?
>
> Click on a title.. it sorts from non-sort state to sort state with the
> currently selected record still selected. Then click again and sort reverses
> with the same record still selected... click on another title and that
> column sorts but still the same record remains selected ...

it's much easier than anything you tried to:

Just set the RefreshAction property from your IB_Query to: raKeepDataPos

That's all.

Luc.