Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to exit from Block Loop

O.DeveloperSep 30 2012 — edited Sep 30 2012
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 28 2012
Added on Sep 30 2012
1 comment
951 views