How to hide report region?

Hi All,
In my application i am uisng the serach visibility concept when i am click on Search link i am displaying the another report as message, since they have not entered or selected any thing before clicking on serach button.
<{font size="7" color="red"> No Data Found for Search Criteria. Please <{a href="f?p=&APP_ID.:6:&SESSION.::NO:"> Click here </a>} to re-enter serach criteria!! <{/font>
Now when this message comes they will click here uisng the above message during that this region should hide and only first region should be visisble. For this i have tried like this
<{font size="7" color="red"> No Data Found for Search Criteria. Please <{a href="f?p=&APP_ID.:6:&SESSION.::NO:P6_HIDE:hide"> Click here </a>} to re-enter serach criteria!! <{/font>
But it it throwing error as "Unable to find item ID for item "'show'" in application. How to resolve this problem.
Or
Is they any othet way insted of displaying the report can i show in popu message staying no data found.
Thanks,
Anoo..

Hi,
You can use javascript alert message or some modal popup message (plugin or your own)
Just create a condition when the actions should be fired. (in your case: click on search button + some_fields are empty / not clicked)
Regards
J :D

Similar Messages

  • How to hide report engin

    I am a new one in oracle and want to know how to hide report engin at runtime....
    Can anybody help me.....
    Thank you
    Farhan

    The following coding will help you to hide oracle report engin,
    ADD_PARAMETER(idparam,'ORACLE_SHUTDOWN',TEXT_PARAMETER,'YES');

  • How to change report region fields in read only mode?

    How to change report region fields in read only mode?
    skud.

    add the following javascript fuction to page header(or Javascript function and variables section)
    function disableItems(pRegionStaticId,pDisableFlag) {
      $('#'+pRegionStaticId).find('[name^=f]').each( function(){ /* matches fxx */
        if( $(this).attr('name').match(/f[0-9][0-9]/) ){
          return $(this);
      }).attr('disabled',pDisableFlag);
    pRegionStaticId is the region's static Id+
    Note that this code specifically disables only application arrays. Disabled items are not available after submission (and hence are different from readonly) . But any page javascript can modify disabled or readonly items(client side), so you must check at the server side to validate the data.
    You can disable items using
    disableItems('MY_REGION_ID' ,true);and enable them by passing false
    disableItems('MY_REGION_ID' ,false);

  • How to hide report background engine window

    hi
    i m using reports6i and when i run a report thorugh forms,reports background engine window also invoke and i want to hide that winodw .any one know how to hide report background engine or is this possibl. if so plz let me how to apply this.
    thnx in advance

    Hi,
    call report using this code
    begin
         srw.run_report('report='||path_forms('R')||'SUB_LEDGER_BALANCE.rep
    L=' || :control
    || ' cdate=' || to_char(:cdate));
    EXCEPTION
    when srw.run_report_failure then
    srw.message(30, 'Error runing reports.');
    raise srw.program_abort;
    end;
    if u use this code for calling report then report background engine window not open also u can open multipul report in same time
    Rizwan Shafiq
    www.rizwanshafiq.blogspot.com

  • How to hide report errors when user input incorrect?

    I have a tabular report with output that's limited on date interval basis in the WHERE clause. So I have two date items that's used to set start and end dates accordingly. Both items have validations "Item specified is a valid date". How to hide error in report area when validation fires?
    screenshot http://ehype.com.ru/tmp/rep_error.jpg

    Have you tried putting a condition on the report region of type "No Inline Validation Errors Displayed"?
    Scott

  • How to Set Report Region Title Dynamically

    I have code working to periodically refresh a Interactive Report on a page. I have the following code in the page header:
    <script type="text/javascript">
    //automatic reload IRR
    function fnc_reloadIRR () {
    gReport.search('SEARCH');
    window.setTimeout(fnc_reloadIRR, 10000);
    // this means the code execution starts after 10 seconds
    window.setTimeout(fnc_reloadIRR, 10000);
    </script>
    This is working great. The title of the report region is "Intraday Color Code Test - &P1_LAST_REFRESH_TIME."
    I have a hidden page item named P1_LAST_REFRESH_TIME on the page that contains the last time the report was refreshed. I am struggling with resetting this value when the report region is refreshed. ( May not even need this item!)
    To address this, I created an On Demand application process that gets the Last Refreshed string. I then altered the above code like this:
    <script type="text/javascript">
    //automatic reload IRR
    function fnc_reloadIRR () {
    var ajaxRequest = new htmldb_Get( null, &APP_ID., 'APPLICATION_PROCESS=SET_LAST_REFRESH_TIME',0);
    gReport.search('SEARCH');
    window.setTimeout(fnc_reloadIRR, 10000);
    ajaxResult = ajaxRequest.get();
    // this means the code execution starts after 10 seconds
    window.setTimeout(fnc_reloadIRR, 10000);
    </script>
    Note the addition of the ajaxRequest stuff. This, too, is working. That is, if I check the value in ajaxResult, it does contain the correct, current time. So far so good.
    What I can't figure out is how, now, to get a reference to the title attribute of the Interactive Report Region so that I can reset it.
    I AM SOOOOO CLOSE. Can anyone fill in this last part of the puzzle for me?

    To clarify, I really just need to know how to get a reference to the Report Region's title so that I can set it to the value currently stored in "ajaxResult"

  • How to hide Report's Parameter Form Urgent Please

    Hello to All!
    How we can hide Reports Parameter Form when we are calling a report from our form by using RUN_PRODUCT built in.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Amir Sajjad ([email protected]):
    Hello to All!
    How we can hide Reports Parameter Form when we are calling a report from our form by using RUN_PRODUCT built in.<HR></BLOCKQUOTE>
    Hi Amir!
    You must add to your paramlist the following parameter:
    Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
    Bye

  • How to hide report tabs in webi using opendoc?

    How to hide a report tabs in webi while accessing that report using OpenDoc??
    Is there a way to see just the sReportName selected without show the other
    report tab in the bottom of the document??

    Hi,
    As Mention By SUBBARAO MUCHERLA Either create 2 Different Reports.
    Or
    You can do one thing .
    Add Complete Report in a Blank section .
    Section (v_sec_All ="All")
       --Part1   //Table
       --Part2   // Chart
       --Part3   //Chart 2
       --Part n
    Use this section(v_sec_All) in Linking Report Part .

  • How to outline report regions

    Hi,
    I have a page with three report regions. Two (with column 1 and 2) on the region 4, and one in region 5 (with column 1).
    The report in region 5 starts 3 or 4 characters earlier on the page then the first report of region 4.
    How to get a correct outline (same starting point for displaying the region) ?
    Hope I made my self clear.
    Any reaction will be appreciated, in advance.
    Leo

    Hello,
    If you can put an example on apex.oracle.com it will be much easier to help you out. Layout issues are really hard to debug if you can't see them.
    Carl

  • How to format report region titles?

    How do I format the report region titles with CSS? Is there a template for the Title lable?
    Pete

    Hello,
    The Report Template or the Report Region Template?
    And yes you can do both.
    Example of report template with css.
    http://htmldb.oracle.com/pls/otn/f?p=11933:7
    Carl
    Message was edited by:
    Carl Backstrom

  • How to retrieve report region source statement programmatically?

    Hi all,
    I have several report regions in an apex application each
    of type "PL/SQL function body returning SQL query"
    and of same structure like:
    bq. declare \\ stmt varchar2(32767); \\ ... \\ begin \\ /* some stuff preparing sql query string */ \\ stmt := 'select' || ' a,b,c' || 'from table'; \\ return stmt; \\ end;
    Now I need to retrieve the region source returned sql statement programmatically.
    The region source is stored in apex view "apex_application_page_regions.region_source".
    But what is the best way to retrieve the SQL statement value, by executing
    the anonymous pl/sql block OR how does it work in apex internally?
    An "execute immediate +region_source+ ... " approach does not work due to PLS-00372.
    Any hints?
    Regards,
    Matthias

    Dear Matthias,
    an interesting problem you raise here. The solution is to create a function from the region source, call that function and then do something useful with the result.
    Let's suppose your region source is :
    declare v_text varchar2(100); begin return(''select * from emp''); end;
    - put this text instead of the first declare
    declare
    v_statement varchar2(4000) := '
    declare
    function test return varchar2 is
    - put this code behind the source:
    begin
    dbms_output.put_line(test);
    end;';
    begin
    execute immediate v_statement;
    end;
    Now you have created a anonymous PL/SQL block that can be performed. The whole code looks like:
    declare
    v_statement varchar2(4000) := '
    declare
    function test return varchar2 is
    begin return(''select * from emp''); end;
    begin
    dbms_output.put_line(test);
    end;';
    begin
    execute immediate v_statement;
    end;
    Instead of the put_line you might set a package variable, so that you can use the result in another way,
    good luck, DickDral

  • How to hide folder region in a dynamic page application

    I am using a dynamic page with the following code to render a published portlet in a dynamic page. I can then control how the portlet displays when added the portlet to a custom page by an end user. I wanted to know if there is way to hide some of the portlet regions in the code. (example) Hide news and sub-folders.
    <ORACLE>DECLARE
    l_portlet_record portal30.wwpro_api_provider.portlet_runtime_record;
    BEGIN
    l_portlet_record.provider_id := 41325216;
    l_portlet_record.portlet_id := 56937;
    l_portlet_record.exec_mode := 1;
    l_portlet_record.has_title_region := FALSE;
    l_portlet_record.has_border := FALSE;
    portal30.wwpro_api_provider.show_portlet(l_portlet_record);
    END;
    </ORACLE>

    Moderator advice: Please don't post in threads that are long dead and don't hijack another poster's thread. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
    Moderator action: Locking this thread.
    Moreover, your question is answered in this thread. Didn't you at least read it before resurrecting it?
    db

  • How to hide report output

    Hello,
    I have web application created using htp packages. from check logins link i will show how many login per application. on the same page i want to create a graph to those logins.
    few questions here I have are:
    First of all how can I achieve this?
    secondly i created a report, in that report i created graph using grahics wizard works fine, this is an .rdf report and I am able to call from web as pdf. But my questions is I want run this report seamleassly from the check logins link that means i dont want to show the output in any way on the screen. should run background. any body have any ideas?
    would like to create the chart dynamically as the data changes. how can i achive this?
    Please shed some ideas....
    Thanks a lot........

    if you have a table with three columns as example,(user_name,date_connection,number_connections),you can create
    a graph using the wizard or not.For example you can set for the X axis the date_connection, and for the Y axis a sum
    of the number_connections.You can put the graph in a report or in a form,and when you press the link or a button,run the
    report or go to the form with the item.
    An easy way to create a graph is,first create a block with the items you will use as columns.In the clause "where" of the
    block you can put: where user_name=:global.user_name
    And then the graph will show the information about your user.
    hope it helps a little

  • How to Hide Report Background Engine

    Hi, can you help me on my problem. What should I do, to hide the Report Background Engine when the report is running.
    Thanks in advance!
    Eric
    null

    Hi,
    call report using this code
    begin
         srw.run_report('report='||path_forms('R')||'SUB_LEDGER_BALANCE.rep
    L=' || :control
    || ' cdate=' || to_char(:cdate));
    EXCEPTION
    when srw.run_report_failure then
    srw.message(30, 'Error runing reports.');
    raise srw.program_abort;
    end;
    if u use this code for calling report then report background engine window not open also u can open multipul report in same time
    Rizwan Shafiq
    www.rizwanshafiq.blogspot.com

  • How to hide report server windows while sending report directlly to printer

    Hi Gurus,
    I am new in adf and using jdev 11.1.2.3.
    I am calling oracle report from adf application. if the destination type is preview then report open in new tab. And if destination type is printer report open in new tab displaying report server screen. i am sending url to new tab. i want if destination is printer then no tab to be open and url must be rendered (run) in background. Any idea or solution for  this issue

    Hi
    I just want to share it with you people. I am able to parse the report server url in background now. Here is my sample code.
    public void openUrlInBackground(String url) {
    URL report;
    try {
    report = new URL(url);
    BufferedReader in = new BufferedReader(new InputStreamReader(report.openStream()));
    in.close();
    catch(Exception e) {
    JSFUtils.addFacesErrorMessage("Error while parsing report url:"+e.getMessage());

Maybe you are looking for