>>>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.
>
>Yes that's what I do, But I touhgt there would be another way, I need to switch between datasessions, Thanks Edward.
Ok, Pablo. If Mr. Petersen will jump into this thread, take it easy.
Edward Pikman
Independent Consultant