?
Solved

ORacle APEX Global variables (Application items)

Posted on 2014-03-27
3
Medium Priority
?
4,115 Views
Last Modified: 2014-04-07
Folks,

I must be missing something simple here, but obviously need a push in the right direction!

I have an APEX application with a fairly simple table behind it which lists the total number of "events" for a number of different locations. Event totals are displayed by location, date & session. On page one these are 3 page items for the users to change.

Clicking on a returned event total will display a second page listing all the individual events that make up that total (ie a simple drill down)

I also want to use this second page to provide the drill down for some charts etc which will live on another page (eg 3). Currently my drill down references page 1 items in the query.. I thought right let me replace these with "GLOBAL" variables and then doesn't matter what page I come from as long as I update the global variable's values the drill down will yield the right result !

Well doesn't matter if I create dynamic actions with PL/SQL to change these GLOBAL variables individually or on masse, or add it to page processing, I'm just not seeing these varilables change value.

I do use a submit after changing one of the 3 page items to refresh the Totals report, but I really can't see where else I'm going wrong !

any suggestions would be greatly appreciated !!

thanks in advance
0
Comment
Question by:wspall
  • 2
3 Comments
 
LVL 74

Expert Comment

by:sdstuber
ID: 39961456
could you create a mini app, just 2 pages with one application item, export it and post the sql here to demonstrate what you're doing and seeing?
0
 

Accepted Solution

by:
wspall earned 0 total points
ID: 39973801
tried numerous dynamic actions/processes to set this "global" values each timwe the page items changed, but to no avail. it may have had something to do with using the Big Value List plugin needing the page submitted every time to refresh it (again dynamic action didn't seem to work on this one)..

So ended up just adding the items as hidden items on the report page and passing the parameters in the URL to that page to drive the report. means I can still do this from any other page, I just seem to recall global variables being a lot easier once upon a time !!
0
 

Author Closing Comment

by:wspall
ID: 39982571
worked through the options to come to this conclusion
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
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…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to recover a database from a user managed backup
Suggested Courses
Course of the Month17 days, 3 hours left to enroll

862 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