Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deteremine how many datasessios are open
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00227341
Message ID:
00227524
Vues:
18
Except that if you have open transactions, then the form
stays 'alive' even after it closes.

I use this in a cleanup program:



ON ERROR nErr = 1
FOR nDSession = 1 TO 10
SET DATASESSION TO nDSession
DO WHILE TXNLEVEL() > 0
ROLLBACK
ENDDO
ENDFOR
ON ERROR
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform