Solved

ORacle APEX Global variables (Application items)

Posted on 2014-03-27
3
3,588 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

726 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