Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extremely private data sessions
Message
 
À
29/04/1997 12:35:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00030137
Message ID:
00030142
Vues:
36
>I'm trying to make a data session private yet updatable. The problem is that the form creates a second data session, but leaves the Fox environment in session 1, so when I issue commands, even from within the form, I get "Cannot find mytable" messages, until I go to the view window and manually change the data session to 2. My quetions is: How do I tell the form where to find its own data session? Hopefully someone can me a simple answer, and perhaps an explanation of why things work this way.
>
>If possible, respond to mramberg@email.maslon.com
>
>--thanks.

Mike,
Try using the forms data environment. Within each forms data environment you can specify the tables, views, cursors, etc. the form will need and also set the data session to private.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform