On the form i've got data block as tabular list.
I want delete record and then to stay on the next record...
go_block('card_cnt');
n_rec:=to_numbersystem.trigger_record);
delete from card_cnt where id:=:card_cnt.id;
clear_block(NO_VALIDATE);
execute_query;
go_record(n_rec);
but n_rec always equal 1.
:system.cursor_record also equal 1.
Why? May be exist another way?
I want delete record and then to stay on the next record...
go_block('card_cnt');
n_rec:=to_numbersystem.trigger_record);
delete from card_cnt where id:=:card_cnt.id;
clear_block(NO_VALIDATE);
execute_query;
go_record(n_rec);
but n_rec always equal 1.
:system.cursor_record also equal 1.
Why? May be exist another way?