Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking For Open Tables
Message
 
À
09/08/2001 23:02:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00542112
Message ID:
00542115
Vues:
17
>On an app is there any way of checking that any tables/database is open/being used.....I'm writing a back-up procedure and need to ensure all users are out of the system before the back-up starts.

Try opening the table yourself exclusively. If you can, then noone else is using the table.

Then while you have the file exclusively open, copy the data. To retrieve a consistent copy of all the tables, open them all exclusively first before copying any data.
Peter Stephens
Visual Records, Inc.

Lead Programmer for the general purpose record keeping system Visual Records. Written primarily in VFP 6.0 with a little C++.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform