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!

Reading global variable set in database package

GregorMJul 30 2009 — edited Jul 31 2009
Hi.

I am having some troubles using interactive report. The problem lies in view which serves as a source to data in that interactive report. The view has some where clause that references previously set package global variable. The first time the page is rendered the query works ok. This is because I have created "On Load - Before Header" process that sets those global variables in database package. The problem is when I just hit interactive report "Go" button the "No data found" is raised. I have nailed down the problem to the point I know that after hitting "Go" button the apex uses a new database connection and logically there the value in database package global variables are NULL. My first idea was to change the "Process Point" (so the process would fire whenever "Go" button is pressed) but I could not find the corresponding point.

So my question is if there is a way to overcome this problem.

Best regards
This post has been answered by 60437 on Jul 30 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 28 2009
Added on Jul 30 2009
21 comments
1,619 views