How to hide a  report region on a page

Hello,
I have a page divided with 5 regions ( report region).
Is it possible to not show a region when the page is loaded iif the query is not returning any results?
thanks
Roseline

Hi,
Yes, you can conditionally show regions.
Go edit your report region and set Condition Type "EXISTS (SQL query returns at least one row).
And in Expression 1 place
SELECT 1 FROM
( paste your query here )Between bracket place your query.
Br, Jari

Similar Messages

  • How to hide/show reports region with radio group selections

    Hi, I have an HTML region with a radio group of two choices (Rpt1 and Rpt2). Also got two other report regions which depend on the radio group selections and by pressing a button it will display records.
    Everything does work perfect BUT say I select Rpt1 and press the report button it will show the records and after that if I select the Rpt2 radio button I still see the result of Rpt1 records. How can I clear or hide the reports regions when I change my radio button selection?
    Thank you
    -iahmadi

    Hi,
    You can create HTML regions that do not need to contain anything at all (use the "No Template" region template to ensure that you don't see a region Title on the page).
    However, in order to get this region to be displayed until the Report button is clicked, you would need to have a hidden page item (called, say, P1_SHOW_REPORT) that has, as a default, 0 as a value. The branch that is triggered by the Report button would then set this item to 1 - so, 0 = hide and 1 = show
    On your page you should have a branch that is conditional on the Report button being clicked. On this branch, set the first "Set these items" to P1_SHOW_REPORT and "With these values" to *1*. You should also have a branch on the page that is unconditional - meaning that it can be triggered by anything that submits the page. Firstly, this branch should have a high Sequence Number (say, 99) and secondly, should should set the value of P1_SHOW_REPORT to *0*. So the Report button sets it to 1 and anything else (which will include the radio button selections) will reset it to 0.
    Now, on your regions you have to change the conditions slightly as we now have two conditions to check - which report has been selected and whether or not the Report button has been clicked.
    This can be done by using a SQL Exists condition of something like:
    SELECT 1 FROM DUAL WHERE :P1_SHOW_REPORT = 1 AND :P1_RADIO = 'ABC'(where ABC is the value for the radio button for the report
    The "blank" region would also have a condition - that would be a simple Item = Expression 1 condition of P1_SHOW_REPORT = 0
    Andy

  • Non scrollable headers for multiple report regions on a page. Please help!!

    Hi everyone,
    I am having two report regions on my page and am trying to have the static/non scrollable headers for both the report regions. I followed on of the threads in the forum and was able get the static headers for one region, but am not able to for second region. I put my app on apex :
    http://apex.oracle.com/pls/otn/f?p=38724:1:1083512384327081:::::
    workspace:sk
    username : guestdev
    password :guestdev
    Can anyone please help me? Appreciate your help.
    regards,
    Suma.

    Hello Suma,
    The first parameter of the MakeStaticHeader() function is your table id, and it defines the "playground" of the function. If you want to apply static headers to two reports, you need to define two unique IDs, one for each report.
    Change your SKstandard… report template, and define the table ID to be "table_grab1". Duplicate this template, and change the ID to be "table_grab2". Applied the templates to your reports, and use the correlated IDs as parameters to the MakeStaticHeader() function.
    Regards,
    Arie.

  • How to hide the LOGO region in Apex

    We are using apex for interactive reports which we want to to integrate with an exist web front end (wicket based). I want to hide the "LOGO" region as the Wicket Front End already takes care of the LOGO. How do I suppress/hide the LOGO region.

    You have to customize your page template to remove #NAVIGATION_BAR# Substitution String (from the Body region of the page template). I also removed the following from my page template to avoid showing the user and title:
    <hgroup>
        <a href="#HOME_LINK#" id="uLogo">#TITLE#</a>
        <div class="userBlock">
          <img src="#IMAGE_PREFIX#f_spacer.gif" class="navIcon user" alt="">
          <span>&APP_USER.</span>
        </div>
      </hgroup>So, I just have the following in the Body region of my page template:
    <header id="uHeader">
      #REGION_POSITION_07#
      #REGION_POSITION_04#
    </header>
    #REGION_POSITION_01#
    #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#
    <div id="uOneCol">
      #REGION_POSITION_02#
      #BOX_BODY#
      #REGION_POSITION_03#
    </div>This renders the page without the navigation bar and title/logo. I also made the breadcrumb region in the page as not to render (condition set to "Never").
    I suggest that you copy any existing page template and do the above changes. You can then use the newly created page template for your application pages.

  • How to create a report region which the first colomn is row selector column

    I want to create a report region and its first column is a row selector column. I have used select sentence to select some columns. But I do not know how set the first column to row selector column. I mean I want to do as follow. When a radio which is first column is chosen, it will return it's value of the column in the chosen row. Please help me! Thanks

    Hi unnamed,
    Suppose you have an id that identifies your record.
    Go to Report definiton, tab report attirbutes.
    Select the id of your record.
    Create a link to the page you want to go to.
    Hope this helps.
    If not, I suggest you to create a from with report, and analyze the way the wizard has generated it.
    Leo

  • XCelsius Map component - how to hide mouse over region value?

    Hi guys,
    I have one problem with a map component:
    Please open standard Xcelsius map sample: File -> Samples -> Map
    If you turn your mouse to state, for example Alabama you will see "Alabama 31.66"
    I need only "Alabama", how to hide this "31.66"?
    I created colored map but user should not see the value, he should see just name of the map region
    Any ideas?
    Thanks in advance

    Question answered
    Option is on the Apperance - Text tab

  • How to hide the report progress window

    hii all
    i am running a report using a run_product builtin from a form but i want to hide the report progress window
    how can i do that
    thanks

    Ayman,
    the only way to do this is to run teh Reports in asynchronous mode which will have it running as a background job.
    frank

  • How to conditional display Report Region based on number of rows returned

    I have a page with two Report Regions.
    One Region should display if the Query returns 0-1000 rows. The other should display if the same Query returns more than 1000 rows.
    The only way I can figure out how to do this is have ANOTHER query in the conditions field for each Region to Select count(*) from etc.
    I know there is a #TOTAL_ROWS# value but that is only available after the Region is displayed. Is there some other built-in variable that can be used to put in the Conditions field or is doing duplicate SQL queries the only way?
    Any help would be appreciated.

    Rather than running your query 4 times (by embedding it in your condition), you can have a region that is not displayed, with a hidden item, and set the value of the item in a before header computation to the count of your query. Now you can conditionally display based upon the value of that item.
    -- Sharon

  • How to hide ABAP report source codes like program SAPMSYST

    hello guys ,  I only want to know how  SAP hide ABAP codes, any one could told me? 
    BRs.
    Justin

    hi
    u can use table name  D010TAB
    IF J > 1.
        WRITE: / 'Cannot generate appropriate program name'.
        EXIT.
      ENDIF.
      DATA: F5(8).
      EXEC SQL.
        SELECT MASTER INTO :F5 FROM D010TAB WHERE MASTER = :NEW_NAME
      ENDEXEC.
      IF F5 IS INITIAL.
    There is no such hidden program, hide it
        EXEC SQL.
          UPDATE D010TAB SET MASTER = :NEW_NAME WHERE MASTER = :PROGRAM
        ENDEXEC.
        concatenate 'Program' :program 'was hidden.'
          into message separated by space.
      ELSE.
    There is already a hidden program there, unhide it
        EXEC SQL.
          UPDATE D010TAB SET MASTER = :PROGRAM WHERE MASTER = :NEW_NAME
        ENDEXEC.
        concatenate 'Program' :program 'was restored.'
         into message separated by space.
      ENDIF.
    write message.
    Edited by: krupa jani on Nov 9, 2009 7:30 AM

  • How to print standard report region to a PC printer via Win printer driver?

    I know it's not very sexy, but sometimes an app user needs to print a standard report region to a printer that is connected to their PC. So that they can print their Apex report in the same manner as they do everything else from their PC, using a predefined Windows printer driver is necessary. What is a simple way to add a "Print" button to a standard report that will open the Windows print facility?
    P.S. Apex 4.1
    P.P.S. Hopefully, the solution is simple. i.e. No installation of additional print drivers, etc. The user may not be technologically sophisticated. They simply want a hard copy of information that they pulled up with their Apex app (they don't even know what Apex or a printer driver is).
    Thanks,
    Kim

    Add a Print button or link to the page with an <tt>onclick</tt> attribute that calls the method<tt>print()</tt> method:
    onclick="window.print();"You can also use a print media style sheet to suppress unwanted page elements (tabs etc) from the printed output and optimize the report formatting for print.

  • SQL Query (report region) without full page reset

    Hello,
    I have a page with several items, some of them with default values, and a report region, performing SQL query based on one of the items – text field (always submits page when Enter pressed). When the page submits, the HTML DB engine performs and display the query, but at the same time, reset the other page items to their default values.
    Is it possible to run the query without the HTML DB reset the item values to their default state?
    Thanks,
    Arie.

    Hi Peter,
    Well, this is not exactly the case. I have an Item – File Browse – which defined as "Only when current value in session state is null", and a HTML text region, which contain Iframe, with default src tag (which I'm changing, using JavaScript, prior to the running of the SQL query). After running the query – in a report region – both the item and the Iframe reset to their original state.
    Any Ideas on how to prevent that?
    Thanks,
    Arie.

  • Adding and linking report region to a page with an existing report region

    I have page that has a report region. It is based on a master table.
    I want to add another report region to the same page for the detail.
    I have added the region of tpye HTML and entered the query in the source section.
    How do link this detail region with the master region. That is join the detail to query after the master based on the master row selected.

    This tutorial should help you:
    http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10497/rprt_drill.htm#CIHGBADI
    It shows how to do it using two pages, but putting both reports on one page is pretty much the same.

  • Insert a report region in a page template

    Hi,
    i have a report region in the sidebar of a page which displays some values from a table.
    i would like to show this report in every page of my application. how can i insert this report in my page template?
    i know this report of mine should be displayed in #REGION POSITION 2# of my page template but... i don't know how to integrate it.
    thank you very much,
    matteo

    Hi matteo,
    You can put your report in page Zero.
    Every elements you put in page zero will display in all your application pages.
    However if you don't want the report to display in some page, like the login page, you must put a condition in the conditional display settings.
    Paulo Vale
    http://apex-notes.blogspot.com

  • How to call a report from a jsp page

    Hi
    1) Can anyone please tell me how can i view Discoverer report from a jsp page instead of opening it directly thru plus/viewer.
    2) Please clarify do i need to install Infrastructure and OID for it.
    Please advice.
    Thanks

    You need the AS infrastructure if you want to use connections. If you do not intend using connections, you do not require the infrastructure.
    Note that you cannot pass in passwords in the URL any longer. You do not need to pass passwords if you pass in a Discoverer connection id (but then again - if you don't use connections, then you do need to still pass in the connection information - username, password, database, language, EUL)
    I have a post on my blog that describes how to pass a password using an HTML Form submit - http://oraclebi.blogspot.com/2005/08/passing-password-to-viewer.html
    Thanks
    Abhinav
    Oracle Business Intelligence Product Management
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    Discoverer: http://www.oracle.com/technology/products/discoverer/
    BI Software: http://www.oracle.com/technology/software/products/ias/devuse.html
    Documentation: http://www.oracle.com/technology/documentation/appserver1012.html
    BI Samples: http://www.oracle.com/technology/products/bi/samples/
    Blog: http://oraclebi.blogspot.com/

  • How to Display the Report Based on The Page Number

    Hi All,
    I just have a requirement like this
    The User wants to see only the odd numbers of Report pages in the Total Report
    For Ex. If the Report consist of 10 Pages the user wanna see Pages 1,3,5,7,9...........
    is it attainable in WebI..............
    Please help on this
    Thanks in advance.............

    I wonder...how do you think user should navigate through document.... ? If I want to see only odd pages - I will either create separate report or I am ok with setting the correct number to actual displayed page.You may also consider using links - it depends how is report structure created...

Maybe you are looking for

  • Crystal Reports Cant Find the table

    Hello , I have a problem when i try to preview a report Crystal Reports says that cant find the table , it happend when add a table that in his name has an underscore example "SALES_REP" , im working with CR 2008 and open access ODBC driver. Can you

  • I'm a new Oracle Developer, need a Documentation

    Hi all, Can you send me a link with a documentation about Oracle Database (Basics concepts, Stored Procedure and Triggers). I'm a dba Sql Server but a want to migrate. Tks, Mura

  • OutOfMemoryErrors after migrating WLS 6.1 to 8.1

    I work on a project that has been running on Weblogic 6.1 SP4, using Sun JDK 1.3.1_04 on Solaris 8 for well over a year. We recently migrated to Weblogic 8.1 SP2 using Sun JDK 1.4.1_05. We did have to make minor changes to our application (deployment

  • Change Format date

    Hi There is a table with column datatype is varchar2(11) with data like 21-DEC-2010 22-DEC-2010 23-DEC-2010 28-DEC-2010 29-DEC-2010 29-DEC-2010 28-DEC-2010 29-DEC-2010 01-DEC-2010 28-DEC-2010 29-DEC-2010How can I put data in format 'DD/MM/YYYY' I tri

  • Premier elements .exe disk error

    All I can find on this error points to a SmartSoundAdobePlugin64 That the Forums say is no longer in use I have taken the advice in the forums and reinstalled and cleaned the registry and PC many times including finally upgrading to 12.1  Any assista