>Hi,
>
>I have a form with no private datasession, with a grid from a cursor whem I change by code the datasession to n, I loose the grid recordsource and column controlsource???
>
>How to prevent this?
>
>Thanks,
You would have to restore datasession and restore Grid.Recordsource and Column.Controlsources programmatically. It would be even better if you find a way when you do not need to switch datasessions.
Edward Pikman
Independent Consultant