Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RollBack
Message
De
17/10/2001 02:41:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
RollBack
Divers
Thread ID:
00569416
Message ID:
00569416
Vues:
42
Hi all
A simple question ?

sele stockout
replace ** with ***
begin transaction
lnoerror = tableupdate(.F.,.T.)
if lnoerror = .T.
sele items
replace ..... with .....
lnoerror = tableupdate(.F.,.T.)
endif
if lnoerror = .T.
sele invoice
replace .... with ......
lnoerror = tableupdate(.F.,.T.)
endif
if lnoerror = .T.
sele debtor
replace ...... with .......
lnoerror = tableupdate(.F.,.T.)
endif
if lnoerror = .F.
RollBack
else
end transaction
endif
if debtor can't update, will rollback revert stockout, invoice, items tables ?

Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform