Subject RE: [IBO] Ordering Links Question
Author Alan McDonald
thank you Lucas...
I had it set in one query but for all my searching I could not find
(remember) what that setting was
Alan

-----Original Message-----
From: Lucas Franzen [mailto:luc@...]
Sent: Saturday, 22 February 2003 7:58 PM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] Ordering Links Question



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.


___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/