Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update conflict, is THIS how to handle it????
Message
De
01/10/2004 13:34:14
Joel Hokanson
Services Integration Group
Bellaire, Texas, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Update conflict, is THIS how to handle it????
Divers
Thread ID:
00948029
Message ID:
00948029
Vues:
67
When I open both an SQL 2000 View and a VFP DBF file and step down through numerous records, I get an UPDATE CONFLICT from SQL.

The VFP is just too fast for SQL to handle the changes.

So in my data process loop, I put a Tableupdate() then WAIT WIND "Record" timeout .1 for every record changed in SQL.

That solves the problem. Apparently that gives SQL the time to process.

Is that the right way to handle this????

Naturally this also means you can only process 10 records per second. If I cut the timeout too low, I get the update conflict.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform