Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi-user system, some records are not updated
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00654565
Message ID:
00662496
Vues:
31
>>>>I got a chance to check the code. The general structure is
>>>>
>
>   TABLEUPDATE(0,.T.,'inventorytable')
>
>>>As I said, if you don't check the return value from TABLEUPDATE(),
>>>all bets are off, even with the "yes, force it" parameter.
>>
>>If it fails how do I return the REPLACE?
>
>What do you mean by "return the REPLACE"? You mean how do you get it to go through after all?

Thanks for reply, I was working on anthoer projgect.

What I would like to do is Re-try the REPLACE command if it fails.

I did look at reporocess help file. I noticed that current command is
SET REPROCESS 5
which I assume retry 5 times which may not be enought time. What are the conseqeunces of changing it to
SET REPROCESS 5 SEC
Will it cause the end user pronblems.


Also there is an error handler, I am correct in assuming it is not invoked if TABLEUPDATE fails?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform