Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datasession open after form close
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Datasession open after form close
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01505354
Message ID:
01505354
Vues:
101
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform