Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Index problems, but not real.
Message
De
18/03/2006 08:03:35
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Index problems, but not real.
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01105532
Message ID:
01105532
Vues:
60
Hello,

When a batch process is updating a VFP table, we often receive error messages like "Index does not match the table" or "Index is corrupted, pleased rebuild it", but when we check the table or index, there is no real problem.
Of course, the error makes another process abort.

How to wait for the table to be updated correctly and stop receiving those messagges? Concurrency is the problem here.

Some Try/Catch blocks inside a "Do While" help, but what is the best method to Retry an operation: Every second? N Times?

Thanks,
Juan C.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform