Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help me
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00569059
Message ID:
00569235
Views:
19
>Helo, people
>I have a big problem, that is:
>I have an applicattion with free tables , in 2 forms with the same tables in buffering mode, in default data session(ex.: customers), when i have the 2 forms opened and close one i get the message error "cannot access the selected table", why???
>The 2º form loses the table customers, why??
>Thanks.
>
>Rui Trol

And that is correct since you use the Default data session. When you close one form it automatically closes the tables, so the second form cannot access them. You can either set data environment .AutoCloseTables property to .f. as Sergey suggests or use the Private data session.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform