cancelling update

wireheart

New Member
How can i cancel new record creating?

Creating a new record in progress -> Create <Table-Name>

Cancelling record updating -> ????????????? (May be Cancel Update)
 
I try undo command. For eaxmple,

if <expression> then
do:
.
.
do transaction:
create <table-name>.
end.
else
do:
.
.
undo ,retry.
end.

first time its running. But the second try it didnt run.

How can I undo created blank record?
 
You are trying to undo the transaction after it has been committed.

You need to issue the undo while you are still inside the transaction you wish to undo.

The "Managing Transactions" section of the Progress 4GL Handbook will tell you more.
 
Back
Top