>This code works fine, except when you have a grid on the form. Then the act of switching datasessions back and forth kicks the legs out from under the grid. I guess Microsoft wouldn't call this a bug but a "limitation".
>
>When it comes to grids nothing suprises me.
Grids *have* to have their data source available at all times.
Otherwise they lose all their user set properties.
So swapping data sessions is a bad idea.
I hate grids because of all the hidden complexity that is poorly documented.
I like what they do, but not how they do it.