>Hello all, I have recently noticed some strange behaviour with
>the grid control on a form. It seems that the grid control loses
>its record source when code executes to temporarily change the
>datasession - to session 1 or to a newly created session object -
>the grid loses its record source and the data disappears from the
>grid. This seems to occur whether the grid is the active control
>or not. Any information (similar experiences/work arounds)would be helpful.
Yes, that would be expected behavior: if the datasession changes, then the table that the grid is bound to is no longer accessible, so it acts as if you've closed it. Check out MSKB#
Q260048 for details and a possible workaround.