Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extremely private data sessions
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00030137
Message ID:
00030142
Views:
38
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform