Hi!
Just remember the record position before requery, or remember ID key of the record. After requery move record pointer back to that record (if possible), or search records with remembered ID key. After record pointer changed in data source, just use Grid.Refresh method call. This usuall refresh grid and centers view to the current record in the grid's record source alias.
HTH.
>Hi All,
>
>I would like to center active row in the middle of a grid after Requery (or some other programmatic action)
>
>I know I have read something about it but I can't remember how to do.
>
>Please giv me some advice.
>
>Thanks Agnes
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.