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

Similar Messages

  • 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

  • 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

  • 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

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

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

  • Image column in an interactive report (APEX 4.0)

    Hi,
    I have added a new blob column containing images to an interactive report, but get the following error:-
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    If the "IMAGE" column is removed from the report using the "actions:select column" control, the report is ok.
    The column contains the following settings in the "BLOB Download Format Mask":-
    IMAGE:WINEDETAILS:IMAGE:WINE_ID::MIMETYPE:FILENAME:::inline:Download
    Have I missed something?
    Regards
    Tim

    Firstly, did you run: GRANT EXECUTE ON DISPLAY_IMAGE TO PUBLIC
    Yes..
    Secondly, is "OBJEKT" a reserved word in your language version of Oracle?
    No, objekt is not reserved word.
    Lastly, is your table defined in the same way as mine:
    CREATE TABLE "A_IMAGES"
    "IMAGE_ID" NUMBER(10,0) NOT NULL ENABLE,
    "FILE_NAME" VARCHAR2(4000) NOT NULL ENABLE,
    "BLOB_CONTENT" BLOB,
    "MIME_TYPE" VARCHAR2(4000),
    CONSTRAINT "A_IMAGES_PK" PRIMARY KEY ("IMAGE_ID") ENABLE
    Script of my table:
    CREATE TABLE PROD.TOB_DOKUMENTI
    ID NUMBER(10) NOT NULL,
    PARENT_ID NUMBER(3) NOT NULL,
    ID_VALUE NUMBER(10),
    NAZIV_DOKUMENTA VARCHAR2(500 BYTE),
    VELICINA NUMBER,
    OBJEKT BLOB,
    LINK VARCHAR2(1000 BYTE),
    DATUM_OD DATE NOT NULL,
    DATUM_DO DATE,
    STATUS VARCHAR2(1 BYTE) DEFAULT 'D' NOT NULL,
    ID_KUPCA NUMBER(10) NOT NULL,
    ID_VRSTE NUMBER(6) NOT NULL,
    ID_DOC_ORIGINAL NUMBER,
    FILE_NAME VARCHAR2(4000 BYTE),
    MIME_TYPE VARCHAR2(100 BYTE)
    I also think that everything is set up correctly, but it still not working..
    THNX for Your reply..
    Kreso..
    (apart from the table and field names)
    Andy

  • How to get the item name from a column in an interactive report?

    I created an interactive report. Then on the same page I added a tabular form region. What I want to implement is that, when I click a column link button on a specific row, the name of the row will be passed to the tabular region, so that the tabular region can list the corresponding items that belong to that specific row. But I have no idea what the name it is. Any idea? Thanks!

    Thanks! I've got it work! Now I can associate many product to a specific ProductNumber.
    Another issue comes up: I want to be able to add more products in this category. But when I press the "Add Row" button, it generates a new line but with ProductNumber null. This results me in failing to insert the new record, because the rule is that ProductNumber can't be null, and also it can't be assured that the new record is associated with this category (ProductNumber). What can I do to make it automatically come up with the same ProductNumber for new records? I guess some kind of a trigger may be needed, but I don't know how to do it.
    I made a screenshot here: http://img25.imageshack.us/img25/3051/98605982.png
    Thanks!

  • 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

  • New column header on Interactive Report

    We have an interactive report on a view and when we add a new column to the view, we would need the report to add the header automatically too (without previous deployment). Can this be done in simple manner?
    Thanks,
    Ricardo

    Hi,
    I have tested the behavior of the different reports in Apex.
    This is the conclusions:
    Created a new column in a test table and running directly the Apex application with the table mapped in three reports:
    1- Interactive Report:
    - No errors in the report when you open it but the new column is not showed.
    2- Classical Report with default options:
    - Errors showed when you open it (ora-01403 No data found)
    3- Classical Report with the option checked "Use Generic Columns Names":
    - It shows automatically the new column in the report.
    But still I do not have a solution to solve the problem.
    Regards,
    Ricardo

Maybe you are looking for

  • Movies in PDF files?

    We're using Pages to develop PDF documents. Is there a way to incorporate video (flv, swf, mov, etc) in PDF documents? When I export to PDF all that appears is a black placeholder where the video originally resided.

  • Can 2 Mac Mini's share the same wireless keyboard

    I have just purchased a 2nd mac Mini and tried to get it setup but it would not accept my keyboard. It took a wahile but did recognoze the mac address but did not seem to accept it and kept on searching. Does it need it's own keyboard? It accepted th

  • Bar coding label

    Dear all, As per my client requirement they are going to implement the bar coding label from SAP and they are looking for information like material code,description, storage-bin and purchase order number all the informations have to store in the sing

  • Fixing forwarding Agent based on Sales Order volume

    Hi Experts, Based on the Sales Order total volume, how can I fix a forwarding agent for that. Eg. If the Sales Order volume (Pls note this is not order Quantity) is more than 500 lbs that has to be despatch only through forwarding agent DHL. Waiting

  • Time Machine question from an ex Windows user

    Simple question that sounds stupid but I just wanted to be sure. I'm new to Mac OS so bear with me on this Let's say I install a program and I want to be rid of completely or it causes some issues, if I use Time Machine to go back to before I install