>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.