Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Terminal Services TABLEUPDATE Failure
Message
 
À
12/09/2005 08:52:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01045421
Message ID:
01049311
Vues:
46
Hi Ray,

> AERROR after the TABLEUPDATE reports 109, "Record is in use by another user."

In AFP applications we encountered error 108 (table is in use by another user) frequently, when AFP runs as a service and interactively with two different user accounts and the service version accessed a table using drive mappings defined in the interactive session. Switching to UNC paths solved that problem.

One workaround in your case could be to lock the header with RLOCK(0) before you try to update. By looping until you can place a lock on the header you should be able to serialize the TABLEUPDATE() calls letting only one user at a time save new records.
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform