Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pack command on shared tables
Message
De
29/05/2001 21:59:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00509101
Message ID:
00512492
Vues:
11
Hi,

Ussually a small network should not give you too much trouble about
pack command.

In the first place, you should get your priorities straight from the start.
Remember the reality of x-base, use the SET DELETED ON statement so the user
dont see the deleted records and the BLANK command if you want to ensure
that the records wont be seen even in the worst case scenario.
I would strongly recommend that BEFORE you use a table exclusive use a program
to verify if the table is not in use in the network. To do that, use this little trick i first made a few years ago:

ICanpackTheTable = .f.
nhandle = FOPEN("THETABLE.DBF", 12)
if nhandle > 0 && THEN YOU ARE THE ONLY USER HAVING ACCESS TO THE TABLE
=FCLOSE(nhandle)
ICanPackTheTable = .t.
endif
if ICanPackTheTable
use excl
pack
endif
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform