Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6800207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:56:29+00:00 2026-05-26T18:56:29+00:00

Using: Oracle ApEx 3.0.1 I have a SQL report region that contains a hidden

  • 0

Using: Oracle ApEx 3.0.1

I have a SQL report region that contains a hidden page item as part of the “where clause”. My problem is, based on a value entered by the user, I need to assign this value entered to my hidden item, so that it can be used within the where condition of my SQL but this would need to be done without actually submitting the form.

At the moment, I can set the value via an on-demand process but my SQL is still not returning any values as the hidden page item within the query is not set (as page has not been submitted).

I am not sure how to do this and whether in actual fact, this is possible to do, without having submitted the page.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T18:56:29+00:00Added an answer on May 26, 2026 at 6:56 pm

    Since you are on Apex 3, you don’t have dynamic actions, but that doesn’t hinder so much.
    I’ve set up an example on apex.oracle.com. To get in the workspace, use workspace ‘tompetrusbe’ + apex_demo / demo.
    There is a dynamic action there, which can do the work too, but i’ve disabled it.

    What you need to make it work:
    an ajax callback process, with the following line:

    apex_util.set_session_state('P2_PAR_ENAME', apex_application.g_x01);
    

    Give your report region a static id, i called mine ‘report_emp’. This so i can easily retrieve it.

    In the javascript region of the page, you then need to call the app process, and then refresh the region. Also bind the event which needs to trigger this action. I’ve done it here through the onchange event of the parameter textfield.

    function refresh_report(oTrgEl){   
       //alert('refresh: ' + $v(oTrgEl));
       //calling the application process which sets the session state of P2_PAR_ENAME
       var oGet = new htmldb_Get(null, &APP_ID., 'APPLICATION_PROCESS=set_session_state', &APP_PAGE_ID.);
       oGet.addParam("x01", $v(oTrgEl));
       oGet.get(); //the app process just sets something, it returns nothing
    
       //refresh the report region
       $("#report_emp").trigger("apexrefresh");
    };
    
    function bind_events(){
       //call this onload
       $("#P2_PAR_ENAME").change(function(){refresh_report(this);});
    };
    

    In the query of the report i use where ename like '%'||UPPER(:P2_PAR_ENAME)||'%'.
    When you type (for example) ‘bl’ in, and tab out (to trigger the onchange), the region will refresh and will be filtered.

    You’ll just need to adapt to your solution 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Oracle APEX and I have a report region in a page that
I am using Oracle SQL (in SQLDeveloper, so I don't have access to SQLPLUS
Friends, I'm converting an Oracle Form to Apex and have run into problem(s?) which
I have menu designed using jQuery in oracle apex.The menu is like this Parent1
Using ORACLE SQL. I have a table ' Employees ' with one of the
I'm trying to create a report in Oracle ApEx that displays a list of
Using Oracle SQL Developer I'm trying to access a given package that has been
I'm new to using Oracle SQL Developer and to using an Oracle DB (have
I am using Oracle 10g. and I have the following relational structure that I
I am using Oracle SQL (in SQLDeveloper, using the SQL Worksheet). I would like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.