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

Similar Messages

  • 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]

  • Dynamic Column Name on Interactive Report

    Hi all,
    Is it possible to assign a SQL result to a Column name on an interactive report?
    I have been able to do this on a standard SQL Report though the use of page items but have not had much luck with interactive reports.
    Any help is appeciated.
    Thanks,
    Dan

    could you please explain step 4 a bit more?
    as with the standard report, i just created an item with SQL query with a corresponding computation with same SQL query and that works great.
    i tried the same method with interactive and it did not work.
    in step 4 it mentions creating a process to populate the items.
    how is this done?
    Thanks,
    Dan

  • Link column from an interactive report to insert a row in a tabular form

    Hi, I need your help, i'm new on APEX and i really need to make a "link column" from an "interactive report" to insert a row into a "tabular form".
    I mean that when you click the "link column" instantly create a new row in the Tabular form with the information of the linked row on the interactive report. Its something like that.
    I really appreciate your help.
    Ricardo Capuz

    Hi Ricardo,
    You can use the following code as per your requirement (this is just an example),
    (In this case IR report is in Page#1 and Tabular form is in Page#2),
    On Page#1, Create a hidden item (i.e 'P1_ID')
    IR Report query as like the below,
    select empno,
    ename,
    job,
    mgr,
    hiredate,
    sal,
    comm,
    deptno,
    empno "copy"
    from empUse the below JS code in Page HTML Header section,
    function f_insert_row(pSub)
        $s('P1_ID',pSub);
        doSubmit('ADD');
    Edit  Report Attribute -> copy column -> Under Column Link
    Link Text: Select your column name (i.e. #EMPNO#)
    Target: URL
    URL: javascript:f_insert_row(#EMPNO#);
    Then create a process to insert like below,
    BEGIN
    insert into emp_test (select * from emp where empno=:P1_ID);
    END;Process condition as * Request=Expression1* in Expression1 as 'ADD'.
    At last, create a branch to Page#2, Check 'include process success message' and with the same condition as * Request=Expression1* in Expression1 as 'ADD'.
    Thanks,
    Lakshmi

  • Problem with column groups on Interactive Report

    Hi
    I am hoping that someone can help with this problem.
    I am attempting to control both the grouping and ordering within each group of fields in the single row view of an interactive report. Creating column groups appears to be OK at first (sequence, name and description) but if I then attempt to edit the group, the sequence box appears to be empty even though it was filled with a unique number at the time of creating the group.
    In addition, any changes to the order of the fields within the group made using the shuttle box at the bottom of the screen don't seem to be saved even to the Apply Changes button is pressed.
    Anybody know what is happening here and can anyone suggest how to control both the order of the groups and ordering within each group?
    Thanks in anticipation
    Martin

    Moun wrote:
    I am dealing with many interactive projects in my application. Sometimes I have to add a column to the interactive report. When I do so, the column doesn't appear in the interactive report...On the page I have to click on "Actions" then go to "Selected columns" and then display it ! the problem is when I logout and login again
    the column desappear again and I have to do samething again and again...Is there a way to set it appear by defaul always ???After adding new columns to an existing IR, you need to select them for display as a developer, and save the new report as the Primary Default.

  • How to increase the column size of interactive report

    Hi , I am using apex 4.2 and theme 25 ..
    i did not find any option to increase the column size of interactive report. where as in classic report i can do so ,,
    Please guide me to achieve that.
    Thank You,
    Nihar Narla

    Nihar Narla wrote:
    Hi , I am using apex 4.2 and theme 25 ..
    i did not find any option to increase the column size of interactive report. where as in classic report i can do soThis can be done using CSS. Create a rule like this in the page Inline CSS property:
    .apexir_WORKSHEET_DATA td[headers="COLUMN_ALIAS"] {
      width: 10em;
    }where COLUMN_ALIAS is the alias of the column in the report query and the width measure is whatever you require.

  • Referencing columns in an interactive report

    I need to link an interactive master report in APEX to a interactive detailed report. Both reports have a common column name (PCN). To create a link from the master report to the detailed report, we must specify a "Name" in the column link section for the column in the master report. My question is: how does one reference a column in an interactive report so an entry can be provided in the "Name" box in the column link section?
    I developed a solution by creating a text item (P1_PCN) in the detailed report and using P1_PCN as the "Name". I then modified the source for the detailed report to be: select . . . where pcn = :p1_pcn. However, what would we do if the user community wants the functionality to click on a variety of column values in the master report, e.g. filter the detailed report by a value of PCN or STHN or UIC or etc? I rather think this could be done but it would be very cludgy.
    Thanks

    Basically, you are doing it the right way.
    If you are sure that there are no overlapping column values, you can modify the query of the detail report to something like
    select . . .
    where (pcn = :p1_pcn
      or   sthn = :p1_pcn
      or   uic = :p1_pcn
    )

  • Problem adding column in an interactive report

    Hi all
    I am dealing with many interactive projects in my application. Sometimes I have to add a column to the interactive report. When I do so, the column doesn't appear in the interactive report...On the page I have to click on "Actions" then go to "Selected columns" and then display it ! the problem is when I logout and login again
    the column desappear again and I have to do samething again and again...Is there a way to set it appear by defaul always ???
    THank you

    Moun wrote:
    I am dealing with many interactive projects in my application. Sometimes I have to add a column to the interactive report. When I do so, the column doesn't appear in the interactive report...On the page I have to click on "Actions" then go to "Selected columns" and then display it ! the problem is when I logout and login again
    the column desappear again and I have to do samething again and again...Is there a way to set it appear by defaul always ???After adding new columns to an existing IR, you need to select them for display as a developer, and save the new report as the Primary Default.

  • Best way to style a column in an interactive report?

    Since I'd rather not do it directly in the SQL used to populate the report, can someone suggest a clean way to style all cells of a given column from an interactive report? Perhaps all cells of interest can be addressed through jquey using the "headers" attribute they share?

    Oh, and I'd also like to make the vertical separations between cells aparent if possible....Please try this one:
    .apexir_WORKSHEET_DATA TD {border-style:ridge;border-color:#98bf21;
    border-width:3px;}For more details please visit:
    http://www.w3schools.com/css/css_border.asp
    Regards,
    Fateh
    If you believe that my answer was helpful or correct, then please mark it as helpful or correct..

  • Custom Column freezing in interactive reports

    Hi,
    Can anyone help me regarding column freezing in interactive reports?
    I want to keep few of the column of my IR fixed that is not scrollable(horizontally),selection of column to be freezed should also be there.
    Along with it i also want a horizontall scrollbar to appear for scrolling the report.
    Thanks,

    Hi Vish,
    I was informed by SAP few months back that Interactive Reports can not be enhanced with custom fields. I don't see any documentation regarding this.
    You may want to check with SAP also.
    Regards,
    Paparao Undavali

  • Colour code a column in an interactive report

    Hi
    Could anybody tell me how to colour code a column in an interactive report please.
    I am using apex version 3.1.
    Thanks in advance

    When your IR is displayed, go to the Actions Menu, choose "Highlight" and enter the condition when which row or field should be highlighted.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • Column Headings in the report and adding an extra field to the report

    Hi All.
    I had an issue like i need to put column headings for a report and I want to add an extra field to the report.
    The problem here is that the report was actually cloned from a Query.At the time of cloning,they forgot to add the column headings.
    Now we need to add the column headings for the same.How can we proceed for this and where we need to add our code?
    How to add an extra field  to the existing report?
    Any pointers will be very much helpful.
    Regards,
    SSR.

    Hi,
    you can get this done in 2 ways:
    1 - Change the query to add another column and the re-generate the report
    2 - If changing query is not possible, you can change the report it self for adding extra field. If you look at the code, it will be more like normal ABAP code. you can easily modify it (If you are ABAPer) for your additional requirements.
    thnx,
    ags.
    Edited by: Agasti Kale on Jun 12, 2008 6:26 PM

  • How to wrap a Column (Increase/Decrease column width) in Interactive Report

    Hi,
    I have a Interactive Report and I want to wrap the column values.
    Also want to increase/decrease width of the columns..
    I have 2 columns say.. Description and List
      List  - aaaaaaa, bbbbbbb, hhhhhhh, nnnnnnn, 222222, 55555555, 77777777, ..... // list of values are seperated by ,
             // 1. want to wrap the values ..I mean to decrease the width       
      Descriptiopn - sdgssdjkllkkkkkkkk  // -- here I want to increase the width of column
                     dgdggdfgdfgdgg
                     dfgdfgdfdfggfdg
                     dgdgdgdgdgdf2ndly for the List Column, can I put the sepearte values in each Line (values are seperated by , here) - ROW will only one.
    For each ROW, I want to display List column as shown below.
          List  - aaaaaaa
            bbbbbbb
            hhhhhhh
            nnnnnnn
            222222
    IS this possible in Interactive Report??
    Thanks,
    Deepak
    Edited by: Deepak_J on Feb 23, 2010 4:14 PM

    Actually, I want to increase/decrease the column width in Interactive Report.
    As shown the in the example of Description field...it's coming in 4-5 lines.
    I want to increase the width of Description column..so that it should come only in 2 lines..
    thanks,
    deepak
    Edited by: Deepak_J on Feb 23, 2010 4:32 PM

  • 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

  • Dynamic Column Headings in Report Layout

    I am using Report Query/Report Layout for a custom report in BI publisher. My Column Headings are stored in the database. On my pages, I am using the replacement format ' &FIELD_NAME.' to have them show up correctly. How can I do that on my Report Layout?

    Hi -
    1) Add Query just for column headings under Source Query (you can obviously pass in bind variables to select the correct column values if need be).
    2) For layout, pull in the headers from data model (just like any other field) and use them to replace any existing "hard coded" headers.
    Good luck.

Maybe you are looking for

  • How do I get Itunes to stop downloading the same TV Show episodes multiple times and delete the duplicates?

    Recently I started buying season passes for TV Shows on ITunes and I have no problem downloading them to begin with but after I download anything else from the ITunes store ITunes will try to download all of the episodes in all of the seasons of ever

  • Scroll bars

    Hi, I need my code to have a scroll bar. Such that I can add more JTextAreas and they will only be displayed if the user scrolls vertically so they can see the content. My code is attached. Thanks import java.applet.*; import java.awt.*; import java.

  • File sharing with PCs on Airport Extreme

    I have two Mac (one Tiger, one Leopard) and one PC connected wirelessly and two PCs and printer connected via ethernet to a new AirPort Extreme which is connected to a DSL modem. All computers connect to the Internet and the printer with no problem.

  • [SOLVED] gthumb fails to launch

    My friend gave me a rebuilt binary...works great now. ========================= Anyone heard of gthumb having launch issues following package updates? Odd thing is, I have actually gotten the app to load a few times, but it's unstable and eventually

  • Link to Windows 8.1 Client Software

    Please point me to a download file for Windows 8.1 client install of AnyConnect. All I see on the downloads page are 'package' files, I just need a simple .exe which will activate the .msi install file. Thank you.