Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deteremine how many datasessios are open
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00227341
Message ID:
00227524
Views:
17
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
Previous
Reply
Map
View

Click here to load this message in the networking platform