Dynamic Headings on Interactive Report

Hi,
I have an interactive report that I would like to use dynamic headings. I have looked at some of the posts here and have followed what I think is the correct way to do this, but I am still not seeing the headings I am expecting.
I created items to hold the headings and have created a process to populate these items, that all seems to work fine, I can view the session state and see the headings.
I added the items to the report on the Report Attributes page under "Heading". I used the substitution for the items as &P2_HEADING1.
When I look at the report all I see for the substituted heading is &P2_HEADING1. and not the value I would expect.
It seems I am missing a step? Any ideas?
Thanks,
Peter

Hi,
The process point should be ok.
The only other things I can think of are either there is an error in the code (the "Session" link on the developer's toobar will show if the value is being set) or there is a space after the page item name (difficult to see on screen but can cause problems) which makes the item name different to what you expect.
Andy

Similar Messages

  • Creating Dynamic Column Headings in Interactive Reports

    Hi,
    any ideas how I can alter the name of a column in an interactive report.?
    I have columns whose usage is defined by the end user and consequently want to have their own meaningful column header displayed whenever this column is referenced.
    I can get column headers to change in standard reports by using PL/Sql to return the column headers. In Forms, I use shortcuts (these don't seem to work for reports, I wish they did) but I'm at a loss on how to achieve this with IR's.
    Thanks
    Mike

    I wrote a script(application process) that updated the table that holds column name. I changed the display name, not the column name. I cant remember the actual table, but i found it by looking at the code that create the "APEX Application Page Ir Col" View.
    I dont know if this is best practice, but it works for me.
    Edited by: Adrian3000 on Dec 26, 2008 9:38 AM

  • Dynamic Heading in Interactive Report

    In standard reports it is possible to create dynamic headings using PL/SQL.
    Does anyone know of a way of doing this for Interactive Reports?
    I have a report that needs to change date headings dependant on the selected start date.
    Thanks,
    Jon

    Item names (or built-in names like APP_ID) appearing in HTML and which begin with ampersand and end with a period are substituted with their session state values only when the names are upper case. The reason for this is to increase parsing efficiency with respect to differentiation between Application Express references and standard HTML references such as:
    &_nbsp;
    &_amp;
    &_lt;
    &_gt;
    ...etc., (ignore underscore in each of the above).
    This ought to be documented better.
    Scott

  • Dynamic action with interactive report region refresh

    Hi!
    I'm using APEX 4.02
    I've got a page with 2 regions.
    Region1 is a (input) form
    Region2 is an interactive report on the same table as region 1
    When entering values on the form I'm trying to dynmically lookup similar records in the table with the interactive report.
    I've made a dynamic action on the change of the form fields which should refresh the interactive report region. I can see this one fires if I add a alert to debug if it fires.
    The dynamic report is based on a query with bind variables pointing to the form fields, for example
    where
    field1 = :P2_FIELD1
    This works great on the page load, so no dynamic action is fired but I can see the rows in the report region are the ones I am looking for.
    But the refresh of the report region is not working, it is never refreshing and/or showing the correct data after a change of the form fields, so it looks like the dynamic action "refresh region" is not working on the interactive report.
    Any ideas why this can go wrong ?
    I would like to solve this using standard dynamic actions and preferrably not via PL/SQL or JS, shoudl be possible if I should believe the documentation... ;)
    Cheers
    Bas
    Edited by: bklerk on 26-apr-2011 3:07

    Hi,
    When you change value to item, I assume you do not set value to session state.
    Use interactive report advanced attributes "Page Items to Submit" , set items session state before report is refreshed.
    http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/app_comp.htm#sthref1235
    Similar post/issue here
    Hide and show region - hides on refresh
    Regards,
    Jari

  • Dynamic Title for Interactive Report?

    I have an interactive report where I am passing in interative report filters. This is great becase it allows me to reuse a single interactive report in different ways. However, one drawback I am running into is the report title. I'd really like to be able to change the report title based on the filters that I pass in. Is this possible? Can the report title be dynamic?
    Thanks,
    Andrew Watson

    It,s possible.
    I'm using item references to alter the report title.
    Set the item value to the title that you want for your report and the region name as the example.
    Example: Report &P1_ITEM. &P1_ITEM1. &P1_ITEM2. and so far.

  • Dynamic Filter on Interactive Reports

    Great job guys on the new Interactive Reports feature of 3.1
    I can't express how much time this will save us in our development effort and how much real estate on the screen is saved by not having to create our own report filters.
    My question is this:
    Say you have defined a default filter that returns all rows that were created between 01-JAN-1999 and 31-DEC-2999 (all rows in our application)
    Is it possible the make the 2 dates dynamic in the filter i.e. I would like to default these to the start and end date of the current month?
    Thanks for any help or suggestions
    Duncs

    I think I may have found the answer using the "In the Last" operator
    Will post my solution once implemented
    Duncs

  • Dynamic Checkboxes on Interactive Report

    I have an interactive report that currently lists a row of values:
    Field1
    Val1
    Val2
    Val3
    I would like to place a text-field at the top of this interactive report with a submit button:
    [textbox] [submit button]
    Field 1
    Val1
    Val2
    Va3
    Then I would like to have checkboxes [] appear in each row:
    [textbox] [submit button]
    Field1 | Checkbox
    Val1 | []
    Val2 | []
    Val3 | []
    Then I would like to make it so that the user enters some text into the textbox and selects any number of the row checkboxes. Upon hitting submit, a procedure will run that accepts each Field1 value and inserts a record into a table containing 2 fields: the Field1 value and the textbox text.
    So the following user input:
    [Test text in the textbox.] [submit button]
    Field1 | Checkbox
    Val1 | []
    Val2 | [x]
    Va3 | [x]
    After hitting the submit button, a procedure would be called that would insert 2 records into a table:
    Field1 | Field2
    Val2 | Test text in the textbox.
    Val3 | Test text in the textbox.
    Note that there is no entry for Val1 because its checkbox was not checked when the user pressed submit.
    What can I do to make this happen? I appreciate any help you can offer.

    Thanks for sharing
    I am having exactly the same problem.
    I have an interactive report with the following SQL.
    select RSN_CD,
        DESC,
    APEX_ITEM.CHECKBOX(1,RSN_CD) "Select"
    from CAN_RSN
    I've set the 'Select' column's type to 'Standard Report Column'.  But the checkbox does not appear on the report. 
    Apex Version: 4.0.1.00.03
    Thanks.

  • Dynamic Interactive Reports

    Hi all,
    Is it possible to alter the sql query of an interactive report, in a dynamic way? I want load a given query, in execution time, to an interactive report.
    How can i access the internal ApEx database tables? Could i write into the table responsible for storing Interactive Report information?? I only know the existence of views like APEX_APPLICATION_ ....
    Regards Pedro.

    Hi Pedro,
    Currently Apex doesn't support dynamic queries in interactive report however you can achieve it using apex collections. Create a before header pl-sql process to create a collection using dynamic sql query and then build the interactive report by selecting data from above collection.
    Hope it helps.
    Thanks,
    Manish

  • ApEx - Interactive Report

    I have two issues with respect to Interactive Report in ApEx
    1. I used the Aggegrate Function to sum up the values. Though the Values are displayed, i want to have the Wordings " Totals". How to go about that
    2. In the Interactive Report, i use the Highlight option to color a set of rows based on some condition. Now after saving the report (primary), i as an end user still see the Query Part with an X. As a developer i dont want my end users to see that portion. From the end user point of view, he should be able to see the report with various colors as defined by me, but without seeing the X mark. (I got the answer to this through another forum,..thanks)
    But the first one still remains...
    Kindly help.
    Edited by: Vraj2k on Nov 25, 2011 4:50 PM

    Hello,
    Do you want some customers appear twice or not in your top 10?
    If not in your select you would need to specify DISTINCT (or probably look a bit more inside the query because you might have a cartesian product that makes the rows appear more than once).
    Next you can order by Value and then only show the first 10. You can do that dynamically with the interactive report or directly in your query. On Asktom you see some nice examples about top n queries: http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:2853107469873
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/
    REWARDS: Please remember to mark helpful or correct posts on the forum

  • Interactive Reports using collections - How to control column headings

    Hi,
    I found a link in the forum somewhere that showed a step by step how to to use collections with Interactive Reports so you can dynamically build the SQL and also control the column headings. Does anyone know where the How-To is ??
    If not, I know how to build the SQL dynamically but what is the best way to control the column headings.
    Sometimes the report will have 17 columns and other times up to 30 columns.
    Thank you, Bill

    Hi Bill,
    Without knowing more about the PL/SQL code, the underlying tables and the select statements used, it is difficult to say.
    I would firstly check that I had indexes on the right column or combination of columns. One minute sounds a lot for a query to me, but that may be ok if the tables are very large and the PL/SQL has to do a fair bit to construct the output. You could also do an Explain Plan for any query to check to see if indexes are being used if they exist - this would also show up any part of a query that takes an inordinate amount of time.
    I assume that the PL/SQL is only run once even if the page is reloaded multiple times? However, once the collection has been created, the report itself should be fairly quick as it should be just a simple select over the collection data. Switching on the debug mode should help identify which part is taking the time.
    Andy

  • Dynamically Colour Cells in an Interactive Report

    My application requires an interactive report where cells are colour coded and the cell may, or may not have a value, but the value doesn't relate to the colour.
    The report is based on a view which returns a result set as follows:
    rn col1_value col1_colour col2_value col2_colour col3_value col3_colour col4_value col4_colour
    1        null        grey          3        null       null        null        null        red
    2        null        null          3        grey       null        null           4        red
    3        null        grey       null        null          3        null        null        redIn the results, each cell to be displayed has two columns per row, one with the colour and one with the value to display where null is the default colour (white)/no value.
    In Apex 4.1 I can set the colour based on the values using the dynamic actions on the report display, but I can't work out how to set the colour of col1_value based on the results of col1_colour. I am hoping there is a way to set the colour of the cell col1_value and hide col1_colour from the report.
    If you know of any posts providing an example of how this may work, or if you are able to explain it to me I would really appreciate your time.
    I appreciate it may not be simple to see what I am aiming for given the text restriction and no images/tables available on the forum, hopefully you get the idea, but if not, ask and I will try and explain further.
    I have seen Blog posts about 3-4 years old on how you do this in Apex 3.0 or older, but can't work out how to get this to work in Apex 4.0 or Apex 4.1.

    I have solved this using Javascript in a Dynamic Action, javascript something like:
    $("td[headers='COL1_COLOUR']").each(function(){
       switch($(this).text())
          case "grey":
               $(this).parent().children("td[headers='COL1_VALUE']").css({"background-color":"#999"});
               break;
          case "green":
               $(this).parent().children("td[headers='COL1_VALUE']").css({"background-color":"green"});
               break;
          case "blue":
               $(this).parent().children("td[headers='COL1_VALUE']").css({"background-color":"blue"});
               break;
          case "orange":
               $(this).parent().children("td[headers='COL1_VALUE']").css({"background-color":"orange"});
               break;
          case "yellow":
               $(this).parent().children("td[headers='COL1_VALUE']").css({"background-color":"yellow"});
               break;
          default:
               break;
        $(this).css({"visibility":"hidden"});
        $("th[id='COL1_COLOUR']").css({"visibility":"hidden"});
    });

  • Dynamically set maximum row count in Interactive Report

    Hi,
    Has anyone worked out a way of dynamically setting (e.g. via select list) the maximum row count value for an Interactive Report, taking into account issues with order by when the report is filtered. I'm aware of solutions like this: http://www.talkapex.com/2010/10/apex-reports-no-limit-downloads.html but as far as I can tell this doesn't work when the report is filtered and the IR is rewritten in the background. Data sets then become unreliable because they are reordered.
    Thanks,
    Mike

    Hi Mike,
    You can do that with javascript
    gReport.search('SEARCH',100)the 100 you can replace for any number you like.I have a report with filter,sorting and groups and it is gives no problem there.
    any number means any number but not higher than the number you set at Maximum Rows Per Page.
    You probably can mix the solution from Martin and the above code.
    Regards,
    Kees Vlek
    <tt>Company: http://www.orcado.nl
    Blog: http://www.orcado.nl/blog/blogger/listings/69-kvlek
    Twitter: http://www.twitter.com/skier66</tt>
    If the question is answered please change it to answered and mark the appropriate post as correct/helpfull.
    Edited by: kvlek on 24-apr-2013 12:29
    Edited by: kvlek on 24-apr-2013 12:35

  • Dynamic Action based on Interactive Report Select List Value

    I'd like to perform a Dynamic Action when a user selects one of 3 options from a Select List within an Interactive Report:
    select APEX_ITEM.SELECT_LIST(
    p_idx => 3,
    --p_value         =>   deptno,
    p_list_values => 'Copy;Copy,Delete;Delete,Export to PDF;Export to PDF',
    --p_attributes    =>   'style="color:red;"',
    p_show_null => 'YES',
    p_null_value => NULL,
    p_null_text => '--Select--',
    --p_item_id       =>   'f03_#ROWNUM#',
    p_item_id => 'P6_IR_SELECT_LIST',
    p_item_label => 'Label for f03_#ROWNUM#',
    p_show_extra => 'YES') "Actions"
    from dual;
    When building the Dynamic Action, I chose the following values from the Advanced wizard
    Event: Select
    Selection Type: DOM Object
    DOM Object: P6_IR_SELECT_LIST
    Condition: Equal to
    Value: "Delete"
    True Action: Execute Javascript Code: Alert('Here');
    Doesn't seem to be firing...can anyone help?
    Thanks in advance,
    John

    Hi,
    I am not sure if the "equal to" condition applies to a DOM object... after all, a DOM object can be anything (any HTML element) not only a field.
    Try using a javascript expression instead, like this:
    $v('P6_IR_SELECT_LIST')=='Delete'UPDATE: Sorry, I just tested and "equal to" condition works for DOM objects... should have tested before posting!
    Luis
    Edited by: Luis Cabral on Feb 29, 2012 4:45 PM

  • Dynamic Column Heading on Interactive Report

    I have my column headings for my table columns stored in the database. I want the Interactive Report to use these heading (instead of static headings). Is there a way to have the columns set from the database(with a function/procedure)?

    you can replace the column headings with &PAGE_ITEM.
    obviously one page item per column header
    then use the database to populate the items with your column headings.
    craig
    [http://www.oracleapplicationexpress.com]

  • Interactive Report - Icon View - Dynamic Columns per Rows ?

    Hi all,
    We use the icon view functionnality in Interactive Report.
    Is there a way to display the 'columns per row' attribute as an application item and set it dynamical via PL/SQL ?
    Any suggestions?
    Thanks in advance for advices,
    Regards,
    Grégory

    Hi,
    Apex 4.0 interactive reports and images (Scott's thread)
    Have some useful information and pointers to the solution you are looking for.
    I hope this help.
    Thank you,
    Ranish

Maybe you are looking for

  • Problem creating goods return.

    hi I am creating a release order using idocs(PORDCR01) and against that release order 3 different goods receipts (mvmt type 101) are made each of quantity 5 through idocs (WMMBID02). Now i need to create a goods return (122) against the RO for quanti

  • Switching off AMT in MSA 7.0

    Hi, In 4.0 it was possible to switch of AMT on the client by changing a table entry. Is this still possible in 7.0 and if yes, which table and value is it? Regards Whity

  • Migration of SAP Script to SmartFrom

    Hi Experts, I migrated an SAP Script to a Smartform. The SAP Script have a lot of PERFORM <...> IN PROGRAM <....> and these are written in a report porgram. I want to know, how to convert those calls and subroutines so that I can use them in Smartfor

  • Sound when I connect the Ac

    I wounder if there is anyway to get rid of the annoying sound everytime I connect/disconnect the AC?

  • JDBC&RFC Lookups

    Hi Flocks I am new to this technology and I am practicing all the scenarios like File, IDoc, RFC, JDBC, SOAP ect... Can anybody explain me about JDBC or RFC Lookups and help how to configure them. Regards Krishna