Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids doesn't show data from other data enviroment
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00400096
Message ID:
00400176
Views:
16
Francisko,
Is the grid form only called from the other form (I'll call it Form A)? If so, can you make the grid form modal? If you do, and if you set the grid form datasession to DEFAULT it will open with the same datasession as Form A. This is a very useful attribute when you're doing a lookup or data-entry popup form.

HTH
Barbara

>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,
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform