Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save problems
Message
De
18/08/2003 13:43:52
 
 
À
18/08/2003 13:19:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00821090
Message ID:
00821100
Vues:
15
They could be failing for any number of reasons, but if your tables are in a dbc, then using Begin Transaction, End Transaction, Rollback for this type of thing is a good way to make sure everything happens, or nothing happens.

Alan

>Can somebody tell me, why in the next piece of code, sometimes fail step1 or step2 or step3???
>
>Set reprocess to automatic
>** step 1
>select x1
>if flock()
> append blank && sometimes fail
> replace xxxxx
> tableupdate(.t.)
>endif
>** step 2
>select x2
>if rlock()
> replace xxxx && sometimes fail
> tableupdate(.t.)
>endif
>** step3
>select x3
>if rlock()
> replace xxxx && sometimes fail
> tableupdate(.t.)
>endif
>
>I need the three files updated at the same time.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform