Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement