Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controling DataEnviroment at run time
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00198030
Message ID:
00198032
Vues:
50
>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
Fil
Voir

Click here to load this message in the networking platform