How to exit from Block Loop
HI
I am using Forms 6I.
In a data block , i have check box, and I have push button to process the calculation for the checked record only.
My code for pushbutton - when button presssed
Go_Block('EMP');
First_Record;
Loop
If :System.Chkl Status =1 then
do update
commit;
End if;
Next_Record;
If :system.Last_record ='TRUE' THEN EXIT
End If; End Loop;
Here my problem is , the last record even if select the check box, the update is not happening. How to do it.
Thanks in advance.