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!

:system.last_record in Oracle Apps Forms

JeganMay 9 2011 — edited May 9 2011
Hi all,

My requirement is when I give order number in header level in Oracle Apps Form, i want the lines to be displayed in lines block.

I have written the query and a cursor.

The Query returns 6 lines when passing the Order Number.

But when i use the following code in forms, the form returns only one line in the lines block.

BEGIN
first_record;
for i in xx_cur
loop
:REQUEST.CUSTOMER_NUMBER := i.party_number;
:REQUEST.CUSTOMER_NAME := i.party_name;

If :system.last_record = 'TRUE'
Then
Exit;
ELSE
next_record;
End if;
end loop;

END;

If i use the above code only the first line gets displayed in the form.

If i didnt use the system_last_record condition the 6 lines are displaying.
--If :system.last_record = 'TRUE'
--Then
--Exit;
--ELSE
next_record;
--End if;
end loop;

END;

Y the :system.last_record is not working.

Please help me to solve this issue.

Thanks in Advance,
Jegan
This post has been answered by 792754 on May 9 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 6 2011
Added on May 9 2011
2 comments
10,145 views