General information
Category:
Forms & Form designer
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only