Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP gets confused about databases and datasessions
Message
From
10/10/2000 13:22:58
 
 
To
09/10/2000 23:27:21
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00426520
Message ID:
00427408
Views:
14
It turns out that the app object method that was trying to close the second form's database and set it back to the first one couldn't close it, even though I was setting the datasession to the form's datasession before trying to close it. I copied the method code without the datasession stuff to a method on the form that opened the second database and now the 'wrong' one is closed correctly. I'm not sure if the database is 'owned' by the form or the datasession, but this appears to indicate that it goes with the form.

Thanks to everyone for all the input!

Deri
Previous
Reply
Map
View

Click here to load this message in the networking platform