|Subject||Re: ib_query to follow row after append/insert|
--- In IBObjects@yahoogroups.com, "Jason Wharton" <jwharton@...>
> > 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
> want.raKeepDataPos. It works. thank you Jason.