Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why isn't a database tied to a datasession?
Message
De
04/10/2000 11:08:03
 
 
À
04/10/2000 11:01:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00424747
Message ID:
00424752
Vues:
24
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform