Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Procedures to get everyone out of the database in my app
Message
 
À
02/06/1999 04:31:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00225246
Message ID:
00225287
Vues:
14
>People ,
>
>
>When i want to update my datab or something like that
>I want to make sure everyone is out of my database
>Can somebody give me some tips avout doing that in a save , neat way
>I am using datasessions etcetera.
>
>Thanks ,
>David van der Vliet


If we want everyone out of our database, we place a file in the common server area that is checked by a timer in our application. If the file is found, our application pops up a custom messagebox stating that the administrator requires exclusive use of the system and asks the user to close the application. If the Ok is not pressed in a certain amount of time, the messagebox presses it automatically (timer) and attempts to run the application exit.

The only problem with the design occurs if a user has uncommitted changes to a table... we don't assume a save/cancel. The system simply waits on the user to make the selection.

Once all our password records are unlocked (everyone is out) we do whatever processing is necessary.


Wayne
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform