tento úryvek můžete upravit :
begin
if ( :system.mode = 'ENTER-QUERY' ) then
set_item_property('b_search', label, 'search');
go_block('blk_yours');
execute_query;
else
set_item_property('b_search', label, 'last record');
go_block('blk_yours');
enter_query;
end if;
last_record;
end;
v when-button-pressed
spouštěč položky b_search