General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only