Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
REINDEXING A TABLE IN A MULTI-USER ENVIRONMENT
Message
De
02/09/1998 14:43:50
 
 
À
02/09/1998 14:39:50
Sergio Ortiz
Tek Services Group, Llc
Hollywood, Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00132479
Message ID:
00132482
Vues:
18
>I have an application in an multi-user environment.
>Every time I try to use the tables exclusively to reindex the files I get an error . I guess some user still have tables open at their workstation.
>What functions should I use to find out if the table is being used so I can skip it ( since I need exclusive use ) and go on with the next table in my database?.
>
>
>Thanks,
>Sergio

Yuo can trap ON ERROR:
lErrorflag=.f.
ON ERROR lErrorflag=.t.
USE table1 EXCLUSIVE
ON ERROR
IF lErrorflag=.t.
...
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform