Solved

Oracle Apex How to set up Select list with submit page item

Posted on 2008-10-23
3
2,558 Views
Last Modified: 2013-12-07
I have an existing page that displays data for one location.   I need to revamp things and add multiple locations that will be in a select list with submit. so that when a location is chosen the page is resubmitted with the location chosens data.   All the queries are in pl/sql on an oracle database.  

Thank you.
0
Comment
Question by:pattisp1
  • 2
3 Comments
 
LVL 74

Expert Comment

by:sdstuber
ID: 22789298
what is the question?  Which part of that do you need help with?
0
 

Author Comment

by:pattisp1
ID: 22799772
I am going from a static location of Michigan and we are adding another location in Indiana.   The default information on the page will be for Michigan.   I want the ability to pull down the drop down list for location and when I chose Indiana, the page is automatically refreshed with the data for the Indiana location.  I have the drop down already as a select list with submit but now I need to repopulate the data with the Indiana location chosen.   The data will be stored in an Oracle table.      
0
 
LVL 74

Accepted Solution

by:
sdstuber earned 250 total points
ID: 22799811
how does your page know how to pull Michigan data?

I assume your report and chart regions have queries something like this?


select col1,col2, col3 from your_table where state_name = 'Michigan'

change that to

select col1,col2, col3 from your_table where state_name = :P20_STATE_CHOICE


where P20_STATE_CHOICE is the name of your select list item
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question