I have built a procedure to undo like this :
lr_row := :m_form.rowid;
exit when :m_form.rowid = lr_row;
exit when :system.last_record = 'TRUE';
This procedure working fine, but when I changed the statment:
lr_row := rowidtochar(get_item_property(:system.current_block| |'.rowid', database_value));
this statement doesn't work.
The new statement has retur value ''.
I hope the new statement has ability to undo any current data block.