Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why isn't a database tied to a datasession?
Message
From
04/10/2000 11:08:03
 
 
To
04/10/2000 11:01:20
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00424747
Message ID:
00424752
Views:
23
>I had some strange error with databases and different datasessions so I started to see what's really happening. And the result for me is that databases are not datasession specific, and I don't like that becouse tables are really tied to a datasession.
>
>Try this:
>
>
>OS1 = CREATEOBJECT('SESSION')
>OS2 = CREATEOBJECT('SESSION')
You're hurting yourself; the default behavior for the Session class is to work in the Default datasession. Change the DataSession property to 2 to give each a private datasession., and they won't stomp on each other

IOW, you need to read the docs some times.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform