Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RollBack
Message
From
17/10/2001 02:41:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
RollBack
Miscellaneous
Thread ID:
00569416
Message ID:
00569416
Views:
41
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
Next
Reply
Map
View

Click here to load this message in the networking platform