>Celtin,
>
>I think it is flaw that the grid control changes the current alias. No other controol does this so all our code (500,000 lines of code) worked fine until we encountered this side effect from the the grid control. Our VFP9 app is used by 30+ companies and is very stable and reliable. All procedures and methods correctly save the current area in a local variable at start and restore the area on exit when needed. Please note that we used all VFP controls (except for the grid) and a few activeX controls extensively on 700+ forms without any problems for more then 6 years. This bug appeared only in the context of the grid changing the area unexpectedly. A simple fix from microsoft to prevent this would have prevented this problem but I guess if I am the only one complaining then Microsoft won't fix this anytime soon.
>
>Please consider that if I use a third party grid or even an Activex Listview instead of the grid then this problem disappears.
>
>Anyways my problem is currently completely resolved within our application by using a combinations of proposed solutions.
>
>Thanks,
>
>George.
George,
I repeat, it is not a bug, a developer's coding error. Anyway glad you solved.
Cetin