Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I tell how many users are in my application
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00443854
Message ID:
00444164
Views:
23
>app.Main problem is with users leaving the program accidentally.

You can use ON SHUTDOWN to trap an accidental exit using the kill button or several other scenarios. This doesn't help you if someone turns the computer off. In that case, I have always been a big fan of telling people not to turn off their computer without exiting the program.

Just about any routine you can think of won't prevent bad things from happening when someone turns the switch off, especially if you have a table open and locked when it happens. As a general rule, I never leave a table open unless it is being used.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform