Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MM behavior with locked table????
Message
 
To
13/09/2002 13:39:55
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00700274
Message ID:
00700336
Views:
10
Hi Igor!

We added a timer to our goapp that checks for a "READONLY.TXT" and/or "SHUTDOWN.TXT" in a directory that all users have access to and make use of the goapp.setaccessreadonly() and goapp.shutdown(.T.) methods respectively to accomplish what you are talking about. I believe that Kevin built this behavior into version 7.0 but I'm not sure. We also had our loader program check for the "SHUTDOWN.TXT" and didn't let them into the application up front if it exists.

HTH

Dan

>Hello everybody!
>Could anyone tell me how MM behaves when the table is locked? Very shortly the scenario we have. There is a big procedure that has to run once a year, practically all tables have to be locked however we'd like users to be able to inquire the data. If the table is locked and the user would try to modify the data in this table, framework is crashing. Is there anything very simple we could do to prevent framework from crashing and rather smoothly close the app?
>By the way, general FoxPro questions. Is there anyway I can lock the whole database from within FoxPro script(outside of the framework)?
>Regards
>Igor
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform