Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Acess to Tables
Message
De
18/01/2005 10:26:42
Jim Winter
Jim Winter Consulting
Hinesburg, Vermont, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00978042
Message ID:
00978096
Vues:
34
SNIP

Neil,

As Jon said, you don't need the SET EXCLUSIVE OFF if you specifically open the table SHARED.

In addition, change your USED test to something like this:
IF USED("UserLog")
   SELECT UserLog
ELSE
   USE UserLog IN 0 SHARED
ENDIF
UPDATE

Above code will still leave you in the wrong work area. Try this:
IF !USED("UserLog")
   USE UserLog IN 0 SHARED
ENDIF
SELECT UserLog
HTH,
Jim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform