Change color records report

Hi,
Is there a way to change the color of records based on a condition item?
For example i want to change to red the records that have 'D' and to green those that have 'C'.
'C' and 'D' values come from the query from database column SIGN.
thnks

Here is an example that really works. I got it from an article on the web:
Query:
select empno,ename,sal,
case when sal < 1000 then 'red'
when sal between 1000 and 2000 then 'purple'
when sal > 2000 then 'green'
end the_color
from emp
Navigate to
Report Attributes > Column Attributes for “SAL” > Column Formatting > HTML Expression
Enter: <span style="color:#THE_COLOR#;font-weight:bold;">#SAL#</span>
Also, since, the_color is part of your query you can uncheck the "Show" checkbox for the field called the_color via Report Attributes

Similar Messages

  • Change color on Report Painter

    Dear gurus.
    Pls give idear about Report painter.
    Now I am making comparson report between planned data and
    actual data on report painter in order to check variance between them.
    Column1: Planned data
    Column2: Actual data
    Column3: Variance between Column1 and 2
    Then, I want to change the font color of Column3 only in
    case that the variance over the criteria such as 10,000 $.
    Do you know how to do it on report painter?
    I don't care whether "Change color" or "make font Bold" or "Font blinking".
    My purpose is to give warning to report's readers which record
    they have to read carefully.
    BR
    yoshitada

    Dear Sadashivan
    Thanks for your info.
    I tried the way you mentioned.
    However, the thing I want to do is not to change the font color of specified column.
    The thing I want to do is to setup the threshhold such as percentage or amount
    and emphasize the data which over the threshhold by changing the color
    automatically.
    Thanks anyway.
    BR
    Yoshitada

  • Changing color of report result in column

    I've seen a number of examples in these forums to use a CASE statement to return the result from a select into a CSS mark up structure to change the display attributes of the result depending on a particular condition.
    I've not seen a way to make it work when assigning the CASE statement to a plsql VARCHAR2. Any suggestions on how to fix this (I think it's issues with quoting)? The APEX error I get is; +"Query cannot be parsed within the Builder. If you believe your query is syntactically correct, check the ''generic columns'' checkbox below the region source to proceed without parsing. "+
    The problem only occurs with the CASE structure in place. If replaced with i.QUANTITY_AVAILABLE (to just get the value), it works just fine.
    Here is the code.
    declare
       l_query varchar2(4000) := '';
    begin
       l_query := '
         select i.INVENTORY_ID,
                io.ORDER_QUANTITY,
                CASE
                   WHEN i.QUANTITY_AVAILABLE=0
                   THEN ''<span style="color:red;"> ''|| i.QUANTITY_AVAILABLE ||''</span>''
                   ELSE i.QUANTITY_AVAILABLE
                END,
                i.QUANTITY_AVAILABLE qty_avail_hold,
                i.STRAIN_CODE,
                i.STRAIN_NAME,
                i.GENOTYPE,
                i.AGE,
                i.SEX,
                (lower(substr(i.ROOM_NUMBER,1,instr(i.ROOM_NUMBER,''-'',1,1)-1))) ROOM_NUMBER
         from   SM_INVENTORY i,
                SM_INVENTORY_ORDER io
         where  io.ORDER_ID (+)= :F111_MODIFYING_ORDER
         and    io.INVENTORY_ID (+)= i.INVENTORY_ID';
    return l_query;
    end;Many Thanks!
    Paul
    Edited by: pgtaviator on Nov 3, 2009 10:24 AM
    Edited by: pgtaviator on Nov 3, 2009 10:24 AM

    Hi,
    Try
    declare
       l_query varchar2(4000) := '';
    begin
       l_query := '
         select i.INVENTORY_ID,
                io.ORDER_QUANTITY,
                CASE
                   WHEN i.QUANTITY_AVAILABLE=0
                   THEN ''<span style="color:red;"> ''|| i.QUANTITY_AVAILABLE ||''</span>''
                   ELSE TO_CHAR(i.QUANTITY_AVAILABLE)
                END,
                i.QUANTITY_AVAILABLE qty_avail_hold,
                i.STRAIN_CODE,
                i.STRAIN_NAME,
                i.GENOTYPE,
                i.AGE,
                i.***,
                (lower(substr(i.ROOM_NUMBER,1,instr(i.ROOM_NUMBER,''-'',1,1)-1))) ROOM_NUMBER
         from   SM_INVENTORY i,
                SM_INVENTORY_ORDER io
         where  io.ORDER_ID (+)= :F111_MODIFYING_ORDER
         and    io.INVENTORY_ID (+)= i.INVENTORY_ID';
    return l_query;
    end;

  • Change font color in reports depending on condition

    I have an application that generates a number of new records at
    the click of a button, which the user can then modify through
    several report-form links. My users have requested that the data
    appear in one color in the reports if they have not yet updated
    the records, and that they change color, permanently, when
    updated. I'm not sure how to accomplish this. I do well with
    PLSQL, but I think this is probably a Javascript issue(?) - or
    is it possible to specify font color of a report when you call a
    URL?
    Any ideas anyone?

    Thank you, both Michaels. I was excited. I was sure this would
    work, so I added the updated_by fields to all my reports (they
    should be useful anyway). I worked on a couple of other issues
    related to this, and returnred this morning to add the HTML font
    tags to my report queries. I CAN'T MAKE IT WORK! I've attached
    my code, and error message. Any thoughts on what I'm doing
    wrong? Thanks.
    (Note: The query works fine without the HTML tags.)
    My code:
    select '<font color=red>'||activity.act_text||'</font>' act_text,
    from Activity, survey, temp
    where activity.survey_id = survey.survey_id and
    survey.survey_id = temp.survey
    Error message:
    Unable to describe SQL statement. Please correct it (WWV-13010)
    Invalid SQL statement: SELECT '<FONT
    COLOR=RED>'||ACTIVITY.ACT_TEXT||'</FONT>' ACT_TEXT, FROM
    ACTIVITY, SURVEY, TEMP WHERE ACTIVITY.SURVEY_ID =
    SURVEY.SURVEY_ID AND SURVEY.SURVEY_ID = TEMP.SURVEY (WWV-13005)
    ORA-01001: invalid cursor (WWV-11230)
    ORA-00936: missing expression (WWV-11230)
    Failed to parse as MCHBGA - SELECT '<FONT
    COLOR=RED>'||ACTIVITY.ACT_TEXT||'</FONT>' ACT_TEXT, FROM
    ACTIVITY, SURVEY, TEMP WHERE ACTIVITY.SURVEY_ID =
    SURVEY.SURVEY_ID AND SURVEY.SURVEY_ID = TEMP.SURVEY (WWV-08300)
    I appreciate your help. I'm tearing my hair out.
    Karli

  • Change row's color in report painter

    Hi all!!!
    anybody knows how change row's color in report painter,
    for example
    number   name        |  money          
       7020   payments1 | 100.00   
       7021   payments2 | 200.00
        summary            |  300.00
    change color of row  "7020   payments1" and "7020   payments1"
    Regards!!!

    Hi,
    For it, first place the cursor on the row and choose Formatting > Row. In the next dialog box, select a color (for totals, subtotals, inserted rows, or for emphasis). The system assigns a color based on the selection you make here.
    Regards,
    SDNer

  • When using quicktime screen recorder, the recording changes colors

    Please help me out!! So I've had my macbook air for a while now and I've used the quicktime screen recorder multipul times, but latley something changed. When I go to record my screen everything works fine, and once its finished and I've saved it it's still normal. But once I go to import it into imovie the entire recording turns red, I can still see the recording but everything is just red! Everywhere else the recording looks fine, but its only when I try to put it into imovie that it changes colors. Its never done this before and all of my past screen recordings work fine.
    Does anyone know what I can do to fix it?
    Any advice would be greatly appreciated!
    Thank you

    Hello meaganmarie,
    I am assuming you have quicktime up to date (10.3)
    When recording a game window,
    - select quicktime
    - go to file > New Movie Recording
    - select your game window like a rectangular marquee selection (drag and make a rectangle filling only your game window
    - stop when done and save
    This way the endtire screen (including youe desktop) won't be seen, just your selected game window.
    Regards,
    Asevenc

  • Reporting: Change Color on Prompt fields

    I need to know if we can change color options for prompt fields?
    Thanks,
    Rick

    Regarding prompt feild no idea.
    We can change the colour of that data which comes after prompting parameter.
    I mean  you have created a parameter Country then you can change the colour of field based on parameter by writing formula.
    Right click on field-> Format field->Font tab->on color clik on X-2
    write formula if {?My parameter}="USA" then red
    Have a look to Sample reports:
    [Crystal Reportsample |https://boc.sdn.sap.com/crsamples]
    Hope that helps!!
    Regards,
    Shweta

  • Report Designer change color

    I created a report using Report Designer and would like to change color of the field base on the data criteria.
    I want to add code using Report Function, but I am not sure how to enter code there and which language I can use.
    Can you please advise me a example how to do the task?
    Your help and information is great appreciated,
    Regards,
    Iccsi

    Hi,
    it's a setting...
    just select the section you want to change to another place, and then select the tabpage "properties"
    There you have an option : 'position'
    The first section in your report (top of page) has position 1, the second position 2...
    So if you want to swap the last section to the first place, just change the position to 1...
    Ciao!
    Joke

  • Change color in alv column

    how do change color of a column in ALV.

    Hi
    The below abap program shows how to change the colour of individual ALV cells /fields. Only a small number of changes are required from a basic ALV grid which include adding a new field to ALV data declaration table(it_ekko), populating this field with the field name identifier and colour attributes and finally adding an entry to layout control work area. These changes are highlighted in bold below.
    REPORT  zdemo_alvgrid                 .
    REPORT  ZALV_CELLCOLOR.
    TABLES:     ekko.
    type-pools: slis.                                 "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
      CELLCOLOR TYPE LVC_T_SCOL,
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko TYPE t_ekko.
    *ALV data declarations
    data: fieldcatalog type slis_t_fieldcat_alv with header line,
          gd_tab_group type slis_t_sp_group_alv,
          gd_layout    type slis_layout_alv,
          gd_repid     like sy-repid,
          gt_events     type slis_t_event,
          gd_prntparams type slis_print_alv.
    *Start-of-selection.
    START-OF-SELECTION.
      perform data_retrieval.
      perform build_fieldcatalog.
      perform build_layout.
      perform set_cell_colours.
      perform display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
          Build Fieldcatalog for ALV Report
    form build_fieldcatalog.
    There are a number of ways to create a fieldcat.
    For the purpose of this example i will build the fieldcatalog manualy
    by populating the internal table fields individually and then
    appending the rows. This method can be the most time consuming but can
    also allow you  more control of the final product.
    Beware though, you need to ensure that all fields required are
    populated. When using some of functionality available via ALV, such as
    total. You may need to provide more information than if you were
    simply displaying the result
                  I.e. Field type may be required in-order for
                       the 'TOTAL' function to work.
      fieldcatalog-fieldname   = 'EBELN'.
      fieldcatalog-seltext_m   = 'Purchase Order'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 10.
      fieldcatalog-emphasize   = 'X'.
      fieldcatalog-key         = 'X'.
    fieldcatalog-do_sum      = 'X'.
    fieldcatalog-no_zero     = 'X'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'EBELP'.
      fieldcatalog-seltext_m   = 'PO Item'.
      fieldcatalog-col_pos     = 1.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'STATU'.
      fieldcatalog-seltext_m   = 'Status'.
      fieldcatalog-col_pos     = 2.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'AEDAT'.
      fieldcatalog-seltext_m   = 'Item change date'.
      fieldcatalog-col_pos     = 3.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MATNR'.
      fieldcatalog-seltext_m   = 'Material Number'.
      fieldcatalog-col_pos     = 4.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MENGE'.
      fieldcatalog-seltext_m   = 'PO quantity'.
      fieldcatalog-col_pos     = 5.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MEINS'.
      fieldcatalog-seltext_m   = 'Order Unit'.
      fieldcatalog-col_pos     = 6.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'NETPR'.
      fieldcatalog-seltext_m   = 'Net Price'.
      fieldcatalog-col_pos     = 7.
      fieldcatalog-outputlen   = 15.
      fieldcatalog-do_sum      = 'X'.
      fieldcatalog-datatype     = 'CURR'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'PEINH'.
      fieldcatalog-seltext_m   = 'Price Unit'.
      fieldcatalog-col_pos     = 8.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    endform.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
          Build layout for ALV grid report
    form build_layout.
      gd_layout-no_input          = 'X'.
      gd_layout-colwidth_optimize = 'X'.
      gd_layout-totals_text       = 'Totals'(201).
      gd_LAYOUT-coltab_fieldname = 'CELLCOLOR'.  "CTAB_FNAME
    endform.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
          Display report using ALV grid
    form display_alv_report.
      gd_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = gd_repid
                i_callback_top_of_page   = 'TOP-OF-PAGE'  "see FORM
               i_callback_user_command = 'USER_COMMAND'
               i_grid_title           = outtext
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
               it_special_groups       = gd_tabgroup
              it_events               = gt_events
              is_print                = gd_prntparams
                i_save                  = 'X'
               is_variant              = z_template
           tables
                t_outtab                = it_ekko
           exceptions
                program_error           = 1
                others                  = 2.
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    endform.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    form data_retrieval.
      select ebeln ebelp statu aedat matnr menge meins netpr peinh
       up to 10 rows
        from ekpo
        into CORRESPONDING FIELDS OF TABLE it_ekko.
    endform.                    " DATA_RETRIEVAL
    Form  TOP-OF-PAGE                                                 *
    ALV Report Header                                                 *
    Form top-of-page.
    *ALV Header declarations
      data: t_header type slis_t_listheader,
            wa_header type slis_listheader,
            t_line like wa_header-info,
            ld_lines type i,
            ld_linesc(10) type c.
    Title
      wa_header-typ  = 'H'.
      wa_header-info = 'EKKO Table Report'.
      append wa_header to t_header.
      clear wa_header.
    Date
      wa_header-typ  = 'S'.
      wa_header-key = 'Date: '.
      CONCATENATE  sy-datum+6(2) '.'
                   sy-datum+4(2) '.'
                   sy-datum(4) INTO wa_header-info.   "todays date
      append wa_header to t_header.
      clear: wa_header.
    Total No. of Records Selected
      describe table it_ekko lines ld_lines.
      ld_linesc = ld_lines.
      concatenate 'Total No. of Records Selected: ' ld_linesc
                        into t_line separated by space.
      wa_header-typ  = 'A'.
      wa_header-info = t_line.
      append wa_header to t_header.
      clear: wa_header, t_line.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = t_header.
               i_logo             = 'Z_LOGO'.
    endform.                    "top-of-page
    *&      Form  SET_CELL_COLOURS
          Set colour of individual ALV cell, field
    FORM SET_CELL_COLOURS .
      DATA: WA_CELLCOLOR TYPE LVC_S_SCOL.
      DATA: ld_index TYPE SY-TABIX.
      LOOP AT IT_EKKO into wa_ekko.
        LD_INDEX = SY-TABIX.
      Set colour of EBELN field to various colors based on sy-tabix value
        WA_CELLCOLOR-FNAME = 'EBELN'.
        WA_CELLCOLOR-COLOR-COL = sy-tabix.  "color code 1-7, if outside rage defaults to 7
        WA_CELLCOLOR-COLOR-INT = '1'.  "1 = Intensified on, 0 = Intensified off
        WA_CELLCOLOR-COLOR-INV = '0'.  "1 = text colour, 0 = background colour
        APPEND WA_CELLCOLOR TO wa_ekko-CELLCOLOR.
        MODIFY it_ekko from wa_ekko INDEX ld_index TRANSPORTING CELLCOLOR.
      Set colour of NETPR field to color 4 if gt 0
        if wa_ekko-netpr gt 0.
          WA_CELLCOLOR-FNAME = 'NETPR'.
          WA_CELLCOLOR-COLOR-COL = 4.  "color code 1-7, if outside rage defaults to 7
          WA_CELLCOLOR-COLOR-INT = '0'.  "1 = Intensified on, 0 = Intensified off
          WA_CELLCOLOR-COLOR-INV = '0'.  "1 = text colour, 0 = background colour
          APPEND WA_CELLCOLOR TO wa_ekko-CELLCOLOR.
          MODIFY it_ekko from wa_ekko INDEX ld_index TRANSPORTING CELLCOLOR.
        endif.
      Set colour of AEDAT field text to red(6)
        WA_CELLCOLOR-FNAME = 'AEDAT'.
        WA_CELLCOLOR-COLOR-COL = 6.  "color code 1-7, if outside rage defaults to 7
        WA_CELLCOLOR-COLOR-INT = '0'.  "1 = Intensified on, 0 = Intensified off
        WA_CELLCOLOR-COLOR-INV = '1'.  "1 = text colour, 0 = background colour
        APPEND WA_CELLCOLOR TO wa_ekko-CELLCOLOR.
        MODIFY it_ekko from wa_ekko INDEX ld_index TRANSPORTING CELLCOLOR.
      ENDLOOP.
    ENDFORM.                    " SET_CELL_COLOURS

  • How To Make Shapes Change Colors When Clicking on them. Example Sheet Sales Data.xlsx template with Excel 2013

    My question is related to the Sales Data.xlsx template that comes with Excel 2013
    IN this workbook is a sheet named Sales Data. It has, 3 shapes. One each for each of the tab sheets in the workbook. When I click on the 'Sales Report' shape it selects the sales report tab. When you do this the shape changes color and the 'Sales Data' shape
    also changes color.
    However I'm unable to figure out how the colors are changing. 
    I don't see any macros in the workbook/worksheet. Nor do I see any code for worksheet events. I don't see any modules in VBA either. I think what is happening is that there are 2 shapes. When you click on one, the one shape goes to the background and the
    other one comes to the foreground.
    I'm no sure how it's doing that. 
    Can someone look at this template, Sales Data.xlsx that comes with Excel and explain how this functionality works?
    Thank You
    Keith Aul
    Keith Aul

    The shapes are exactly as I suspected, each of 3 sheets has 3 'navigation' shapes. The shape with the same name as the sheet has no hyperlink and is coloured differently to indicate it refers to the active sheet. The other two have hyperlinks linked to respective
    sheets. 3x3 shapes, 9 in total, none of them ever change colour!
    It's logical though not necessary to name each shape same as the sheet it links to, but they'd work just as well with their original default names.
    For aesthetics, the shapes that refer to own sheet have a horizontal line on top, actually two shapes as a group.
    If still confused copy each set of 3 shapes to a 4th sheet, or open two new windows so you can see all three sheets at the same time.

  • Function or formula to display the desired color in report

    Hi,
    I am using Web I rich client in BO XI R3.1 version and would like to know if there is any function or formula to display the desired color in report.
    I've used aleters but not getting the desired output. I need to display the color of some regions percentage wise based on a condition in a box i've created alerters for individual colors but they are not working.
    I came to know in crystal it is available just want to know if it is available in BO too.
    For more information about the issue am facing which had already posted in this forum please have a look in the below post.
    Alerter not working in XI R3.1 web I rich client report  
    Posted: Mar 15, 2010 1:29 PM  Eswar Rao
    I am desperately looking for solution and trying to resolve this issue. I would really appreciate for your ideas or solutions.
    Thanks,
    Eswar

    Or just make one alerter. Make sure you are in the cell and open Alerters. Create one that says "Filtered Object or cell" = "Cell Contents"  "Less than" and enter the lowest number, like 0.6. Then click format and change to the color text or background you want. Say ok to all of that and make sure it works.
    Then edit the same alerter, click add sub-alerter. Make this one "Filtered Object or cell" = "Cell Contents" again, and put Operator of "Greater than or Equal" to 0.7. Then click on the plus sign button to the right and it should give you an "And" option. Make that one "Cell Contents" "Less than" 0.8. Again go into Format and change to the next color you want. Click OK all the way out and check.
    Then edit it again, and add another sub-alerter and make this one "Cell Contents" "Greater than or equal to" 0.9. and again format the color, and save.
    Does that not work?

  • How to change color in BEx Browser?

    Hello Friends,
    How to change color in BEx Browser?
    My browser shows all the report description with pink color. I want to change the color.
    Please let me know.
    Thanks in advance.

    Hello Bhavin,
    It seems the patches for BW Add-On are being kept pretty much in sync for 6.20 and 6.40 (i.e they seem to be released at around the same time, even that the patch level numbers are different).
    However, at BW Add-on Patch level 4 on a SAPgui640 machine, we didn't have the "pink font" problem.
    It may be that BW 3.5 Add-On patch 6 will have a similar effect for you - it may be worth trying.
    Here is the link to the BW3.50 patch 6... https://smpdl.sap-ag.de/~swdc/012002523100000108232005D/bw350_6-10001615.exe?_ACTION=DL_DIRECT
    The patch 6 referred to above is for the BW3.50 Add-On - the SAPgui patch is typically a different number (the 11 that you mention is the SAPgui patch level).
    Best regards,
    Pat M.

  • How to Change color on control break fields

    I have created a master detail report. I then did a control bread on the three fields below. I would like to change the color of the break to blue instead of the standard black. What settings or method would I use to change the color on the control break line to blue? TY.
    Request Seq No : 1, Employeee Name : Steve , Supervisor Name : Alex
    John

    Those navbar links are generated by javascript and are not user editable. You can create your own navbar using a Text Based Navbar and then have complete control over font (stick with the Web Safe Fonts), color, size and rollover colors.
    Cyclosaurus has posted an HTML snippet that can change the font style of the navbar of each page that the snippet is applied to. You can find it here: http://discussions.apple.com/message.jspa?messageID=8596966#8596966. This page tells how tol change the navbar test to all caps: http://discussions.apple.com/thread.jspa?messageID=8523772#8523772.
    And the following code, again courtesy of Cyclosaurus will change the rollover color of the navbar on any page the snippet is added to:
    HTML Widget to change rollover color for this page in the navbar above to orange The code used, courtesy of Cyclosurus, is:
    <script type='text/javascript'>
    styleCSS = 'div#widget0 li a:hover{color: orange;}'; // change color to your liking;
    eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[func tion(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'e(c)'\\b','g'),k[c]);return p}('1=2.3.5(\'6\');1.4.7=\'8/9\';1.4(\'a\',\'b\');1.c=d;2.3.e(\'f\')[0].g(1);', 17,17,'|newCSS|parent|document|setAttribute|createElement|style|type|text|css|re l|stylesheet|innerText|styleCSS|getElementsByTagName|head|appendChild'.split('|' ),0,{})); </script>
    You can see an example of that in this demo page: Misc. Items.
    OT

  • Change color on item

    Hi,
    I have a problem with changing color after I change a field record.
    I have 10 column, when a press the button apper 20 records/pag, in one column i make some changes (ex. a change the date 12/10/2012->13/10/2012), after i made this change i want the
    background to change in a color.
    I put in when_button_pressed:
    execute_query;
    commit comment '';
         message('X');
         IF :col1<>:col2 THEN
    Set_Item_Property('blk.col2',BACKGROUND_COLOR, 'R255G255B0');
    END IF;
    I made the change in the column for 1 position, and then i press the button for saving the changes, but all the col2 is yellow now...i want only the position where i made the change(where col1<>col2(col1=col2 in general)).
    Thx.

    Hello,
    see the online Forms Builder documentation (F1), then use Set_Item_Instance_property() instead of Set_Item_Property().
    Francois

  • Bar color in report

    Hi,
    We are using Crystal Reports XI R2. We have a requirement wherein we would like to programmatically set color or bars in a chart report. I was going through the API reference but could not find any class that could help. Could someone point me in the right direction?
    This is apart of a C#.net application using VS2005 and SQL Server 2005.
    Thanks!
    D2

    Hi John,
    Its not possible to programatically change bar color  in reports.
    See this business objects note # 1197468 .
    Content of Note is here:
    Symptom
    Is it possible to change the line colors in a line chart or the bar colors in a bar chart at run time using Visual Studio .NET?
    Cause
    The chart analyzer is a third party tool that Crystal is licensed to use in the designer. That means in the Crystal Designer you have a lot of chart functionality, but at runtime the chart exists as part of the report object and the analyzer is not present. That means you have a few formatting options but no creation functionality.
    Resolution
    Using the Crystal reprots SDK for .Net it is not possible to change the line colors in a line chart or the bar colors in a bar chart at run time.
    The .Net sdk provides minimal ability for accessing chart objects. Using Chart Object you can only set properties such as Height, Width, Border, etc., at runtime and retrieve information about the Chart Object in a report.
    Regards,
    Shweta

Maybe you are looking for

  • Flash player installed in wrong folder?

    Ok I have this poker program that uses flash player to run, but the program cant seem to find flash play since in 64 bit windows it is installed in syswow64 file instead of sys32 file. Flash player works fine except with this one program. how can I p

  • How can I enforce automatic spell checking for selected fields of data entered by form users?

    I'd like to be able to enforce spell checking of selected fields in the forms that I've created using LiveCycle Designer 8.2 at run time, as opposed to design time.  I understand the version LCD 8 has a nifty new spell checker for form designers.  Bu

  • Why can't my contacts in my address book be printed in "alpha" order?

    After over a month and endless hours contacting Apple, I am now informed that, because of the operating system, it is impossible to print alphabetically from contacts.  The proposed solutions don't work for me - printing from the clould (I can't acce

  • How to disable the automount feature?

    hi all, I have plugged a lot of disks on my computer. And when I boot in Mac OS X, so many icons would shown in my desktop. But in fact, most of them wont be used. I only wanna auto-mount one of the partitions of one disk. Could you tell me how to do

  • Help on oracle8i network. many thanks.

    oracle8i distributed database concept says "an applicaiton can simultaneously access and modify the data in serveral databases in a network". does the network support internet. i have a case: db.org1.com and db.org2.com. both are indepedent and separ