Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update Conflict
Message
De
03/01/2005 17:20:50
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
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00973947
Message ID:
00973947
Vues:
48
I have a remote view to an SQL table of about 100,000 records.

if I open the table, then say Go Bottom (to give it time to open) and then say:

Replace all XXX with .f.
Tableupdate()

It will update a few records then give me UPDATE CONFLICT

So I put a a Do While loop and Replace XXX with .f. then a Wait Window Timeout .1 and Tableupdate() and it goes down the file a lot farther, but that is slow and it too eventually stops.

If I put Wait Window Timeout 5 it goes much farther, but eventually says my ODBC connection is BUSY.

Obviously I have some seting wrong because on a 100,000 record file I can not wait several seconds for each Tableupdate().

Should this work???

Replace all XXX with .f.
Tableupdate()


Thanks
Joel
Houston, TX
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform