General information
Category:
The Mere Mortals Framework
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only