Subject Re: ib_query to follow row after append/insert
Author jeffplata
--- In IBObjects@yahoogroups.com, "Jason Wharton" <jwharton@...>
wrote:
>
> > I am using ib_query to edit a table. It has an active
> > orderinglinks. I
> > use ib_query.append to insert new records.
> > ib_query.append;
> > <set field values>
> > ib_query.ib_transaction.refresh(true);
> > After this, the current row selected is the last row (in the grid
> > [maybe logical, because I did an Append]). Which
> > component/property do
> > I have to set so that the current row pointer(?) follows the newly
> > appended record?
>
> Check the RefreshAction property. raDataPos should have it do what
you
> want.
>
> Jason
>

raKeepDataPos. It works. thank you Jason.