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 to query the selected value from a Select List control

pawuyulanSep 18 2017 — edited Sep 19 2017

This is for APEX 5.1.2

I had just learned how to make a select list, and now I need to make a SQL query for another control.

The "Select list" control named "P1_Select_Control" uses this SQL Query to get the list of values:

select Table1.TEXT as TEXT,

       Table1.ID as ID 

from Table1 Table1

I need to know how to make an SQL Query to retrieve the ID of the selected value.

Untitled.jpg

I had been searching on the web, but all I get is something like this:

select Table1.TableData as TableData

from Table1 Table1

where Table1.id = P1_Select_Control

and it clearly doesn't works.

I need something like " P1_Select_Control.SelectedValue.ID"

I had been looking in the web, but I don't even know what is the wording that I need to use. For example, if I use the title of this thread as search, I get a lot of javascript stuff, .NET controls, and Microsoft Office stuff.

So, I would like to get a tip on what words to search.

This post has been answered by Scott Wesley on Sep 18 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 16 2017
Added on Sep 18 2017
1 comment
407 views