Are you sure record pointer moved in the correct alias, and it is really moved?
Also, you can replace "Go TOP" by "LOCATE" command without any condition, that is better because optimizable.
>Hello Vlad,
>
>Thanks for the input but still no luck. I tried changing the sequence of SetFocus and Refresh, I tried using "Set Filter" instead of "Set Key" but I keep getting the same result. The only time it will efresh properly is if each "Set Key" statement has matching records.
>
>I did notice that when I get it to refresh, after multiple keystrokes, I am always at the bottom of the table? My code has a Go Top that works properly when there are matching records.
>
>The only code that I have in the grid is a saving of the column widths when the hearders are altered.
>
>Thanks in adavance for you help.
>
>Jeff
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.