Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datasession open after form close
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Datasession open after form close
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01505354
Message ID:
01505354
Views:
100
I have a form with a private datasession that opens tables with optimistic buffering on. If the form is cancelled, the form reverts the changes and the datasession closes with the form just fine.

However, if the record is saved succesfully, the datasession stays open after the form is closed, with the datasession listed as "unknown." I have placed a clos data command in the queryunload, which closed the tables, but the datasession still hangs on until I close the app. I'm not using any transactions and I don't think any data should be hung open, but what am I missing to get the datasession to close automatically with the form?

Thanks in advance!
Steve Howie, owner
DaSH Technology
Denver, CO
Next
Reply
Map
View

Click here to load this message in the networking platform