>Hi can anyone explain this:-
>
>I have a form with a grid on it, this has a ControlSourceType of 1 and a ControlSource of a table in the forms Private datasession.
>
>Everything was going fine until I added some code that does a check on a table in the Default datasession.
>
>Basically at the point that I change datasessions the grids ControlSource is emptied.
>
>Thanks in anticipation.
When you change datasources your data source in unavailable in your privaate datasession, which is afterall the point of private datasessions. So your grid is gone. Either don't use private datasessions or repoen the table in the datasession, which is very fast anyhow.
James Beerbower
James Beerbower Enterprises
Frankfurt, Deutschland