>The problem is I have hundreds of forms with multiple pages and controls. All these forms and code has been working for years and was designed to save the current alias on entry and reset it on exit. This all worked fine until I started using grids to display rows of data instead of a list control. It looks like this problem only occurs with the grid control.
>
>Does anyone else know how to prevent the grid from automaticly changing the current alias to its own recordsource?
>
>Or does anyone have an idea on how to detect the automated alias change so I can reset it?
>
>Or is there a way to reliably intercept all the grid events which could change the alias?
>
>Thanks.
But if you use Private data session for all of your forms, you must change the code only in these forms where you have a grid.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.