Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
THISFORM.RELEASE() won't release
Message
De
17/10/2000 08:52:54
 
 
À
12/10/2000 17:04:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00428775
Message ID:
00430243
Vues:
16
The Hacker's Guide says that if you are using VFP3 :
-->In VFP 3, when you use table buffering, you have to either commit or revert changes before you can close the form. Otherwise, you get an error message—fair enough. What isn't fair is that when you're using a private data session, the form goes ahead and closes and leaves you with a data session labeled "Unknown" with the offending table still open. In fact, anything that prevents a table from closing (like a trigger failing) when you close the form causes the same problem. The moral is that you must be sure to either commit or revert changes as part of a form close. If you should get caught in this situation, you can go to the View window, choose the Unknown data session, select the open table, issue TableRevert(.T.), then close the table. Once you've closed every table in the Unknown data session (any relation to the Unknown Soldier?), the session goes away.
<---

No doubt you aren't using such an old Fox, so it must be something else...

-LTS
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform