>I have a new grid that seems to forget the rowsource property for its columns. The grid uses a cursor created in the form’s load method. The grid itself can remember the rowsource property, but after I save and resume the session the grid has lost all the rowsource properties for each column.
>
>I use the safe select method for populating the grid. I only address the grid population in the refresh method of the grid. I never address the rowsource properties programmatically.
>
>Any thoughts?
>
>Thank you in advance,
>
>Gary
You can not switch datasession while working with the grids. Instead of switching datasession, try instantiating an object of the session based class and do the work in one of its methods. I had similar problems before - grids are very sensitive to the form keeping their datasession.
If it's not broken, fix it until it is.
My Blog