欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

FORM界面批量处理-全选框实现

程序员文章站 2022-06-02 17:26:50
...
declare
begin
	 if  :BTN.SELECT_ALL = 'Y'  then
	 	go_block('AR_SELECTED');
	 	first_record;
	 	loop
	 		:AR_SELECTED.AR_SELECT_BZ := 'Y';
	 		EXIT WHEN :SYSTEM.last_record='TRUE';
	 		next_record;
	 	END LOOP;
	 elsIF :BTN.SELECT_ALL = 'N'  THEN
	 		go_block('AR_SELECTED');
	 	first_record;
	 	loop
	 		:AR_SELECTED.AR_SELECT_BZ :='N';
	 		EXIT WHEN :SYSTEM.last_record='TRUE';
	 		next_record;
	 	END LOOP;
	 	end if;
end;
相关标签: ERP erp