Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controling DataEnviroment at run time
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00198030
Message ID:
00198032
Views:
48
>Is tehre any way to Control the DataEnviroment at run time?
>If so, i have two forms and need that one of them control the other's DataEnviroment, tables, aliases, indexes and so.....
>thanks
>
>Emiliano

Do you really need the DataEnvironment at the object level, or just to be able to see the same tables/aliases/indexes in the other forms private data session?

If you just need to see the tables/aliases/indexes, could you just pass as a parameter the datasessionid from the first form to the second, and then set the second forms property accordingly. This is something I needed and appears to work fine.

If you need the actual data enrivonment object, then you could just pass the entire form as a parameter to the other form and pick apart all the pieces you need, but it won't necessarily give you direct access to the tables open through that data session.

HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform