Skip to Main Content

APEX

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 do you obtain SEQ_ID of a collection based on a SQL QUERY

442166Jan 10 2006 — edited Jan 14 2006
I don't know if my brain is not working or what, but how can I access the seq_id of a collection that I display as a SQL Query? I have this SQL Query:

select
htmldb_item.checkbox(1,b.asset_id) " ",
htmldb_item.select_list_from_lov(2,
'SHARE-UNRESTRICTED','LOV_RESERVATION_MODE',null,'YES') "mode",
a.seq_id,
b.asset_no,
b.device_name,
b.device_name_attached_to
from
htmldb_collections a,
asset_report_vw b
where
a.collection_name = 'CART'
and a.c001 = b.asset_id

The user can select the reservation mode from the select list for the Mode field and hit a button to update the cart. I have reviewed documentation and the Collections Showcase demo that showed how to do this with form items, but not from a report. I can't figure out how to get the seq_id to pass to the HTMLDB_COLLECTION.UPDATE_MEMBER_ATTRIBUTE procedure. I tried to create a hidden region item called P9_SEQID but I can't figure out how to set it to the seq_id returned from a query. Using #SEQ_ID# syntax doesn't work.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 11 2006
Added on Jan 10 2006
8 comments
384 views