Conditional display to the region

Hi, I need to show or hide a region depending on the value of an item in another region. I try with the condition "value of item in expression1 = expression2 " and in the box of expression1
:P29_ID
in the expression2
1
And nothing happens, the region disappears and never shows again.
Please, help me!

Try using P29_ID in the field for expression 1 (without the colon).
~Dietmar.

Similar Messages

  • Conditional Display of A region based on a Search condition

    Hello All,
    I would really appreciate any suggestion and pointers on how to achieve the below.
    My requirement is to display a tabulated result based on a search condition.
    I have two regions. One region contains the items to enable a search and the other region will be used to display the search results.
    Region A is an HTML region containing three items
    1.     A text field: to enter the search text
    2.     A list field: to determine the type of entity to search (customer_id, invoice number, Passport No)
    3.     A button: to initiate the search process.
    Region B is a reports region displaying the search results
    My question is:
    1.     Is basing the source of the region as a “PL/SQL function returning a select statement” the ideal choice. I will have variable “WHERE” clauses based on the search criteria entered in region A. However, the columns returned will always be the same
    2.     How do we get the region B to display only when there are results returned from the search results
    3.     How do we base by result set based on a stored procedure in the database. Basically as an API. We pass in the parameters and the API passes the result set back to APEX. This way, I can have all the DML hidden behind the stored procedures
    Looking forward to your comments and suggestions
    Pravind

    Hello,
    See the below link
    Re: item dispaly conditionally
    Regards,
    Shijesh

  • Conditional display in the row template!

    Hi,
    I created a report template and my report shows like this:
    col1 col2 col3 col4 col5
    a 4 5 6 7
    b 4 8 7 2
    Total 8 13 13 9
    I am able to display all the above, but the column name should be "Total" at the end of the report when i am displaying the totals. totals also coming from the database, so i am not calculating here.
    Shall i put any condition saying that if the col1 is null then col1 should display "Total".
    Please suggest.
    Thank you.

    manyam16 wrote:
    Actually I used the row template conditions to solve that. But I have added one more count in the database package, that column is coming into the report attributes, not showing in the report. any ideas?
    I am using like this #COL50#where are you using this? if you are using this in column conditions, it will not work
    thank you,

  • Conditional Display on APEX region

    Hello,
    I need to validate following condition
    Value of Item in Expression 1 = Expression 2
    In above mentioned condition, I need to evaluate two different hidden item. P1_X and P2_X.
    For e.g. when P1_X = 0 and P2_X = 1
    How can I accommodate above two items under same conditions for the same region?
    I tried putting comma but seems it does not work.
    For e.g.
    Expression 1
    P1_X, P2_X
    Expression 2
    0, 1
    What is the correct way?
    Thanks,
    R

    Hi,
    You can use SQL exists condition and put the following query in expression 1
    SELECT 1 FROM DUAL WHERE :P1_X = 0 AND :P2_X = 1Thanks,
    Manish

  • Conditional display in the report.

    Hi, I have a report on the page that dislplays values (numeric). Is it possible to dislplays null values as N/A in the column?
    Thanks in advance.
    Robert

    Hi,
    In classic and interactive report have option "Show Null Values as"
    How to replace Interactive Report "-" for null columns fields with blanks?
    Br,Jari

  • How to use more than one region 'Conditional Display'

    Hi,
    I use a region and i want to use 2 Conditional Display for this region:
    . Fisrt when 'Request Is Contained within Expression 1' ==> 'Val1,Val2'
    . Second when 'Inline Validation Errors Displayed'
    Is it possible.
    Thanks

    Hi,
    The first one is relatively straightforward as there is a Condition Type available for that.
    The second one is a bit more complicated but can still be done. Have a look at Re: how to use wwv_flow.g_inline_validation_error_cnt? This will tell you how many validations failed. If there were any failures, you can set a hidden page item to 1, for example, and then use this page item in your condition
    Andy

  • How to show regions markers in Google maps based on longitude and latitude. on-click of region marker i want to display all the country locations based on the region from share point list?

    Hello every one,
    In My requirement i am having  some regions with longitude and latitude in one SharePoint list. in another SharePoint list i am having the country values with longitude and latitude and region as look up field.  I want to display all the region
    markers in Google maps. on click of any region marker i want to zoom in the map to region level and i need to display all the country markers in Google maps under the region. can any body help me on this requirement.
    Thanks in advance,
    Venu.

    Not sure about Google Maps but this is fairly easy to do with Bing Maps. I've used Bing Maps with SharePoint lists fairly regularly. Here are some blog posts:
    http://blogs.bing.com/maps/2013/03/26/connecting-a-sharepoint-list-to-bing-maps/
    http://blogs.bing.com/maps/2013/03/07/geocoding-a-sharepoint-list-item/
    Once you have your sharepoint list connected to Bing Maps you can easily filter the list data based on the selected country if you have a country column in your list. If you want to take things a bit further an create a much cooler user experience you can
    also use the Bing Maps GeoData API to get the country boundaries and show them on the map as polygons. These could be color coded based on some metric, or set up as the clickable area on the map rather than a pushpin. Here is a blog post on how to use the
    GeoData API with the JavaScript Bing Maps control:
    http://blogs.bing.com/maps/2013/06/25/retrieving-boundaries-from-the-bing-spatial-data-services-preview/
    http://rbrundritt.wordpress.com

  • Data not submitting when I have a conditional display on a date field

    Hello all,
    Could someone please help me with the following issue?
    I have created an updateable report region with four updateable fields. 3 of the fields store a number values and the fourth stores a date value.
    Each updateable report item has a conditional display, and whether they are displayed or not is controlled by the end user using a radio group (with submit). This provides the user with three options.
    If I remove all conditional displays all data will commit to the database without any problems. If I apply the conditional display to the number fields only, again the data will commit as normal. However, as soon as I add a conditional display to the date field it all goes pair shaped. The data will then cease to commit, with no error message at all. Once I remove the conditional display normal service is resumed.
    I'm certainly an APEX novice at the moment, so I wondered if anyone could shed some light on this.
    Thanks in advance for your help
    Steve

    Stew,
    Basically, I have edited each applicable report field column attributes, via the report attributes tab, and selected a conditional display 'Value of item in Expression 1 = Expression 2' for all of them.
    In the same report region I have created a radiogoup with submit called p51_update_type, specifying three static return values; R, F and S
    Condition e.g.
    *"Expression 1"*
    p51_update_type
    *"Expression 2"*
    S
    All columns display as expected, and commits to the database are normal, that is until I apply a conditional display to the date field (which relates to a table column of type DATE in the database).
    Thanks
    Steve

  • Conditional Display - ideas needed

    Hello
    I have this:
    http://vels.dk/tmp/display.jpg
    I would like to show only "Choice invoices view" region when the user come to the page.
    When the user press the "Show All" or "Last x days" then I have a 2 Branches. The Branches set a hidden item to 0 or 1 (1= all 0= last x days)
    The user surf to another page in the application and come back to the page. But now the "Invoice" region is display... How do I solve this? I have tryed some REQUEST, but the "next row select" belov the table has no REQUEST functions :(
    Some ideas?
    Best Regrads
    Jesper Vels

    Hi Jesper,
    I would suggest something like the following:
    1 - Your hidden field should have THREE values - 0=Hide, 1=All and 2=Last x days
    2 - The default value should be 0
    3 - Have a conditional display on the report's region that only displays the report is the value of the hidden item is not 0
    4 - Your two buttons can then set the value of the hidden field to 1 or 2 and the SQL statement should include a WHERE clause something like:
    WHERE ((:P1_SHOW = 1 AND ....)
    OR (:P1_SHOW = 2 AND ...))
    5 - Create an application computation for the hidden item
    6 - This should set the value to 0 when the current page is NOT this page - therefore, whenever the user moves to any other page, the value will be set to 0 and the report will be hidden
    Regards
    Andy

  • Hiding the Region Navigating between pages

    Hi All,
    I have two regions in page1 ( region1 & region2), when I click one of the columns in page2 I should see only region2. I have searched in forum but I didn't find any solution for this kind of problem.
    How can I completely hide the region1 which is in page1? Is there any way that I can hide the region through conditional display
    Thanks,
    Suma.

    I assume the clicking is using a link to page 1. In that link you can specify an item on the page 1 and flag it with some value. In the conditonal display of the region on the page 1 you may specify to show it only if that flag is NULL.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • How to handle Multiple Conditional Display

    I have a page (call it page 2) that one can navigate to using a column link from another page, or using a link from a list. On page 2 I have a region that I would like to conditionally display; display the region if they navigate using the list link, do not display if they navigate using the column link or if the page is in printer friendly mode. I can probably handle a multiple conditional display for a region using something like a PL/SQL Function Body returning boolean, is it possible to know which link was clicked?
    Other suggestions would be greatly appreciated.
    Regards
    Mark

    Sudheshna-
    In my List, I set REQUEST to P2_PARAM. On page 2, in the region where I want to control the display, for Conditional Type I chose PL/SQL Function Body returning boolean. In Expresion 1 I have this code;
    BEGIN
    IF V('REQUEST') = 'P2_PARAM' THEN
    RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;
    END;
    The ELSE, handles the times I do not want to display the region, in my case if I linked to the page from a column on a page other than page 2, or if I want the page in printer friendly mode.
    Regards
    Mark

  • Need help with conditional display

    I found a older thread (704012) that explains how to conditionally display a link using style.  Which is what I want to do.  The part I'm having trouble with is that part of the instructions say to put
    class="row_has_values_#HAS_VALUES#"
    in the Link Attributes which I have done.  I also have a column in the report called HAS_VALUES and I'm properly populating it in my select.  I know because I left it displayed while I'm testing.  I can run the report and I have Y's and N's showing up in that column but the conditional part does not work.  When I look at the page source (below) I see that in the html the #HAS_VALUES# has not been replaced by the actual Y or N.  I think that's where I'm having trouble?  I think it might work if there was a Y or N in that but I don't understand why that didn't happen.
    <tr class="odd"><td headers="LINK"><a href="f?p=125:3:12628966088981::NO::P3_PROGRAM_KEY:2" class="row_has_values_#HAS_VALUES#"><img src="/i/e2.gif"  border="0"></a></td><td  align="left"

    LawrenceJ wrote:
    I've continued to snoop around and see lots of posts on conditional display in reports.  Common desire I guess.  I saw some stuff that I interpreted to suggest that what I'm trying to do may not work in interactive reports, only in classic reports.  Does that sound familiar?
    That would certainly apply to anything template-related. However there have been enhancements to IRs (like adding HTML Expressions) that might supersede information in older posts. If you provide a link to the sources you've found and the APEX version you're using someone will be able to confirm whether that information is relevant.
    Many other posts on doing things conditionally in reports seemed to lean towards "selecting" the html based on data values and then just letting that get put in the report column.  That looks promising but sure is a bit ugly.  I've very little apex experience but lots of mod pl/sql and that sort of solution was pretty common when I did stuff with it.  I saw a little suggesting using templates as a solution but I'll confess to not understanding it at all.
    As I pointed out in the original thread, if the conditional display of the link is in any way security related then CSS or JS/jQuery methods are not acceptable. If the user is not supposed to be able to click the link or see any data contained in it, then you have to use a method that ensures that the link element never reaches the browser.
    Hard-coding the link HTML in the report query is the common approach, but is as you say a bit ugly. Using a custom report template (my favourite APEX subject) enables clean separation of the report query, conditional logic and HTML structure. If you know HTML then you're advised to get familiar with using templates in APEX. You'll find this a major advance on the PL/SQL web toolkit. What is it that you're not understanding about using templates?

  • Conditional display of report

    hi
    i have a batch table (batch_id,batch_name,batch_type..)
    i have to pass batch_name and batch_type as a parameter so i have 2 item on a page
    batch_name :-select list
    batch_type :-select list with submit and it values select from the values of batch_name
    create button :- when i hit the create buttons it will show me 2 report in the same page based on the latest batch_id
    so i have to apply conditional display on the reports
    what would be the condition for the conditional display so that i will get to reports in the same page
    dependency between report is batch_id
    Regards
    Amu

    Hi Tobias,
    i have interactive report.
    the content of report is displayed based on the input values(from select lists),
    1)select list -p_cust
    2)select list-p_switch(the values of the list select from the values of p_cust i.e select d r from switch_t where cust_name=:p_cust)
    requirement like this
    1)First i have to select a customer
    2)when i select a values (switch) from the switch select list -the result of the report for a paticular switch .
    e;g-p_cust='ABC' and p_switch='XYX'
    the output of the report would be the all records for 'ABC' customer for a Paticular Switch that is-'XYZ'
    3) again when i select a value "All_switches" from the switch select list it should returns all the records for all switches
    Regards
    Amu

  • How to change the region name?

    How group,
    I am displaying some graphics where the size of databases is displayed.
    I have a shuttle list where the name of databases is changed dinamically, according to the value is selected in select list item.
    I want to display the region name according to the database is selected, for example when the database "PROD" is selected (the first one in the shuttle list) its name must be displayed in the region name of the first graphic.
    I would like to know if it can be done accomplished in APEX.
    Any help or advice will be really appreciated.
    Thanks in advance.
    Kind regards,
    Francisco

    Hi John,
    Thank you very much.
    But you know, this is a shuttle (array element) from where I want to display the title for the region.
    For example when I want to display the graph for two databases, the Region Title displayed is 22:23 (Application ID is being displayed instead of the database name)
    To display the graph accordance to the Application ID, I am using next query:
    select *
    from (SELECT distinct null link, to_char(fecha_captura, 'YYYY-MM') mes, tamano asignado, utilizado
    FROM databases_historico_diario a, aplicaciones d
    WHERE (fecha_captura, to_char(fecha_captura, 'YYYYMM'), d.id_aplicacion) in (SELECT max(b.fecha_captura), to_char(b.fecha_captura, 'YYYYMM'), c.id_aplicacion
    FROM databases_historico_diario b, aplicaciones c
    WHERE b.id_aplicacion = c.id_aplicacion
    GROUP BY c.id_aplicacion, to_char(b.fecha_captura, 'YYYYMM'))
    AND a.id_aplicacion = d.id_aplicacion
    AND a.id_aplicacion = (select token from (select p.*, rownum rnum
    from (
    select substr (txt,
    instr (txt, ':', 1, level ) + 1,
    instr (txt, ':', 1, level+1) - instr (txt, ':', 1, level) -1 )
    as token
    from (select ':'||:P3_SHUTTLE_VALUE||':' txt from dual)
    connect by level <= length(:P3_SHUTTLE_VALUE)-length(replace(:P3_SHUTTLE_VALUE,':',''))+1) p
    where rownum < 2
    where rnum >= 1)
    ORDER BY mes);
    I am manipuling the ":" character to choice the element according to the first, second, etc.
    Is there any way to accomplish this for the Region Title?
    Any advice or help will be really appreciated.
    Thanks in advance.
    Kind regards,
    Francisco

  • Graph label in Drill down graph to display only the lowest level label

    Recently I have upgraded from OBIEE 10 to 11g.
    Some reports have a country -> region -> branch drilldown, for which hierarchy is created in business layer of RPD. The graph, drills down from Country -> Regions -> Branches and displays the measures accordingly. But the horizontal label displays the full hierarchy , like CountryName,RegionName and Branch Name. In 10g, I used to get the Branch name only in the axis label.
    I would like to display only the Region names when Country is drilled down and the branch name alone when the Region is drilled down.
    Kindly help.

    In 11g it is bug....
    For this u should create 3 individual reports (1 for country, 2. Region, 3. Branch) and give action link one to another.
    for filter make sure the required column "Is Prompted" for every detailed reports.
    Pls mark if it helps
    -Chinna

Maybe you are looking for