I am using Application Express 3.2.1 and I have an application that when run pulls these columns from a database:
Display Name, Email Address, Phone Number, Home Network, Country
I want to make a way to filter the rows by Country, so I created a Select Named LOV with this values definition:
select name d, name v
from
(
select distinct(country) name
from hh_carriers
)
When I click "Run" for my application, all my data is displayed correctly and my select list populates correctly. However, when I select a "Country" from my select list, the data doesn't change. The select list also goes back to the default value. Is there something else I have to do with the Select Named POV? What do I have to do to make the filter work? Thanks.
This is what my SQL statement looks like to generate my page:
select * from hh_carriers
where
country like :P5_COUNTRY
Display Extra Values: No
Source Used: Only when current value in session state is null
Source Type: Static assignment (value equals source attribute)
Edit: Changed some things for clarity