>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.comNever mistake having a career with having a life.