I have a form with a grid that shows a view in another datasession. In the init of this form I change the datasession to the one where the view is. (THISFORM.DATASESSIONID=xx).
1) If the view is not included in the data enviroment of this form, i get an error saying that the grid does'n found the view.
2) If I include the view in the data enviroment of the form, the grid shows the view from the local data enviroment instead of the view in the datasessionid is pass. If I code "select view" and "browse", shows the correct view/data, but the grid shows the view in the local data enviroment.
I try "thisform.grid.REFRESH" but doesn't work.
Why is doing this?
Thanks,