Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TABLEUPDATE slow
Message
De
11/07/2006 02:22:36
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 5
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01135188
Message ID:
01135209
Vues:
11
>Hi. I have a VFP 5 Order Entry app. that uses optimistic buffering. Works well except when there are multiple users, where saving an order is very slow. A trace shows that it sits on the TABLEUPDATE(.T.) for upto 30 seconds. Any ideas.
>
>TIA.

try, but vfp should already do it
...
IF FLOCK() && implement a WAIT FOR TIMEOUT loop
  TABLEUPDATE(.T.)
  UNLOCK
ENDIF
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform