Decode and line color

Is it possible to color an entire line without using an decode for each columns in the select ?
ex :
<code>
select
decode(C1,'A','<sspan><ffont color="red">'||C1||'</sspan></ffont>',C1),
decode(C1,'A','<sspan><ffont color="red">'||C3||'<sspan><ffont>',C3),
decode(C1,'A','<sspan><ffont color="red">'||C2||'</sspan></ffont>',C2)
from toto
</code>
Message was edited by:
Matthieu84

Hi,
I think you can color the entire table rows but in order to color the individual rows I think you have to use some custom code or create a pl-sql form with htp.p syntax.
To color the entire table you can simply add bgcolor="red" in the report template Before Each Row section.
Thanks,
Manish

Similar Messages

  • Need one space between text and line color

    Is there any way to offset the text from the border a bit? I
    would like to have a black line around some boilerplate text,
    but the text is always butted against the border. Is there a
    way to offset the text a bit

    HamidHelal wrote:
    Lan_Desu wrote:
    Please, help me.
    Is there any way to offset the text from the border a bit?
    I would like to have a black line around some boilerplate text, but the text is always butted against the border. Is there a way to offset the text a bit ?
    I've been searching in this forum and google and didn't find the answer yet.
    Hi, Lan
    if yo want to place a line you may choose underline option. Otherwise take a line/draw a line and keep space between the text and line.
    Hope this helps
    HamidIs there a way easily?
    I already know that that solution. But it is troublesome when I face editing later - I have to edit all of it.
    But thanks for the answer :)

  • The display has lines and the color is strange.

    The Retina display has lines and the color is very light when I turn on iPad mini. When I woke up and turned it on this morning, it happened. I have no idea what happened since the iPad mini has been gotten no physical damage.

    Hi:
    I would try a hard reset of the notebook.
    http://h10025.www1.hp.com/ewfrf/wc/document?docnam​e=c01684768&cc=us&dlc=en&lc=en&jumpid=reg_r1002_us​...
    If that doesn't work and considering all of the other steps you took to remedy the issue, I would say the BIOS update wrecked something permanently.

  • X300 partial screen flicker and solid colored lines

    Hello all.  Just opened my X300 tonight to find the lower-left quadrant of the screen flickering and some colored lines in the upper left-quadrant.  The right half of the screen is viewable but pixelated.  Anyone know if this is fixable?  Loose cables, inverter? 
    thanks.
    Solved!
    Go to Solution.

    mmster55 wrote:
    Good point.   I fiddled with my friends laptop after I was convinced I could fix his Dell screen.  Its still sitting in my room 2 years later.   Thanks for the info.
    i am in the same boat with my T30, T40, T42.... i decided to pull them apart and have yet to put them back again, i think i have lost some of the screws too..... 
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • How do I darken or change the color of the iCal gray text and lines?

    How do I darken or change the color of the iCal gray text and lines?  The gray text is very hard to read.

    apple dosn't care about us anymore
    I remeber way I went back to os x10.6
    it's a tiny bit easier to read
    gosh I may have to start a boycot of crapple

  • I have a iPod touch 5th generation and when i turn on the device, its white screen with black lines and different colors

    I can turn off the device naturally. But when i turn it on it shows all white with black lines and different colors. Is my LCD screen broken? If it is, can apple fix it?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar                              
    If not covered by warranty
    Apple will exchange your iPod for a refurbished one for $99 for 16 GB 5G and $149 for the other 5Gs. They do not fix yours.
      Apple - iPod Repair price                             

  • Loss of color and lines in notes app

    After latest updates, Notes app yellow background and lines are missing.

    Hello higashiuchi,
    The design of Notes for OS X Mavericks has changed:
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • Is there a way to make comments "move to the back", behind the text and lines?

    Is there a way to make comments "move to the back", behind the text and lines?
    I am using Acrobat X Standard to "highlight" lines using comments lines at 12pt width and 50% opacity on DWG files converted to PDF.  The opacity setting makes the text and lines readable behind the highlighting, but the colors do not print well.  Moving the highlighting behind the existing text and lines would allow me to use 100% opacity with more vibrant colors.
    Before, we highlighted by hand, but those colors do not scan or copy well.  Digitizing the highlighting is cleaner, and can be edited without starting over.  The "comments" lines can be applied by Acrobat Reader, Acrobat Standard, and Acrobat Pro, so there's an advantage.  Even more important is that the average file size of an 11x17 print that is highlighted and scanned in color is 1000 KB, while doing it this way, they tend to be 100-150 KB, and the text remains searchable. If there's another system that people use, I'm open to that instead.  I haven't looked in to doing the highlighting in AutoCAD.
    Naturally, everything I'm doing is protected, and cannot be shared, sorry.
    Thanks.
    Message was edited by: Nathan Goldblatt

    No, that's not really an option.

  • How do I change the line color in a chart in Numbers on my iPad?

    How do I change the line color in a chart in Numbers on my iPad?

    Whenever I try to shift+direct select it thinks I want to move the line, so as I shift + direct select and drag my mouse across the line (to highlight it all) it moves a chunk of the line and turns it into a near perpendicular line.
    I found the appearance window, it just says "Path" (the color I want it to be that it's not)
    "Stroke" 4pt
    "Fill" (the color I want it to be that it's not)
    "Opacity": Default
    And some other buttons. I think I'll try the help line tomorrow, I know I saw a customer service number somewhere and I'm only here because the chat was unavailable. This is only one of my 3 problems with my assignment so I'll search here for answers to the other two. Learning new things is rarely fun.

  • Acrobat pro: how set default properties for arrow and line tool seperately?

    I have a problem with the 'comment and markup' tools in Adobe Acrobat Pro.
    I would like to change the defaults of some of the tools, eg the arrow and the line tool.
    This can be achieved by right-clicking on something drawn using the tool in question and then selecting 'properties' - or by selecting the tool and then press ctrl+E, wich opens a 'Callout Tool Properties', and then change what you want there. The latter option keeps the changes as defaults - the former offers a box to tick in the 'properties' dialogue that opens - or, you can right-click on the object again after having changed the properties, and then select 'Make Current Properties Default'.
    My Problem is now, that, apparently, you cannot choose and save default properties freely and for each tool. I woul like to have the default properties for the line tool set as the following:
    -line color: yellow
    -line thickness: 8pt
    -opacity: 60%
    and fot the arrow tool as this:
    -line color: red
    -line thickness: 1pt
    -opacity: 100%
    This all works fine as long as the program is open. As soon as I exit and start it again opening another document /the same one again, the arrow tool changes to
    -line color: yellow
    -opacity: 60%
    only the line thickness remains at 1pt.
    If I change the properties of the line to the ones I want for the arrow, the arrow properties remain unaltered if I close Acrobat Pro.
    Why do these properties interfere? Why is it "line color/thickness" in both? Why, then, do only the opacity and the color interfere, but not the thickness - even if it's the latter two properties that are bot called "line xxx"? Why does Acrobat not save all properties for these two shapes seperately - even IF the two shapes are both of a line-like kind?
    Is there a way to get around this?

    Trobbel - This indeed is puzzling behavior. Clicking 'Make Current Properties Default' should preserve the default  appearance for each. I don't have a solution, but merely a couple of suggestions:
    1) Make sure you have installed any available upgrade for your version of Acrobat Professional.
    2) Consider using the line tool exclusively - you can add an arrowhead and make one tool perform both tasks.
    Hope this helps. /rmbrown

  • Changing line color on XY plot

    This should be something really simple. I simple created a property node, set the active plot, and set the plot.color. What happens to some plots is the points change to my specified color and other stays as my background plot color which is white. I cant seem to get the line color to change with the point color. There are ways I can change it at run time, by right click on the plot and going into properties and setting line color in that tab.
    What am I doing that I cant get this to work at runtime?
    I attached the plot, just ignore all the missing VIs you should be able to see the problem.
    Attachments:
    SteadyStatePlot1.vi ‏350 KB

    It works just fine here using LabVIEW 7.1. Could you do us a favor and make a mini demo, just containing the xy graph, some data for it, and the related property nodes to demonstrate your problem.
    Overall comment on your VI:
    Sorry, but I am absolutely horrified by your code. I cannot believe that you need all those property nodes, especially the signaling ones, they should be used very sparingly. (For example the FOR loops on top center and in the event called "clear all points" are just pumping hot air, repeating the same action and signaling (!!) every iteration.) It also just cannot be healthy if a single event calls tons of signaling properties, such as in the above mentioned event case. Then, in the timeout event, you are rewriting the plot la
    bels and names every 10 ms. Do they really change that often???
    Please let us help you in your overall program design. It will make a big difference in your future, more complex projects if certain common desing misconceptions are not propagated. I think entire sections of your program can be deleted without loss in functionality, the code can be stripped to <20% and the CPU usage can be reduce to <2% of the current situation. Just my wild guess.
    The above is well meaning criticism, so don't take it personal. I am much harsher looking at my own early code from 8 years ago. :-) Good luck!
    LabVIEW Champion . Do more with less code and in less time .

  • How can I change line colors in HTML reports?

    I have a VI that is creating an HTML report based on a table of results. I change the back ground color of the line based on failed results. However this line color change is not seen in the HTML reports. Can anyone give me a good way of basically transferring the properties of my table to the HTML report? Is it possible? Thanks in advance for any help.

    Greg - Thanks for the reply. I figured this out doing some more research. The line that I needed was "<BACKLOG="#PAYOFF">Your Cell Text</ID>. The problem I was having was that line is needed in front of the rest of the font formatting commands. For example here is my original line:
    <ID WIDTH="200"><BACKLOG="#PAYOFF"><FONT SIZE=+0 COLOR="#OFF">8.3.12.1</ID>
    The bold part in the line above is what I added. With the cell color added like this it actually created another cell and pushed existing ones one cell to the right. It then colored the second cell in the row and left the first one blank. Through looking up more examples I found that I was actually putting the cell color command in the middle of the font formatting command. So I tried putting it at the end and it then did nothing. The only way I could get the cell in the table to change and not change anything else was using the syntax below.
    <ID BACKLOG="#PAYOFF"><WIDTH="200"><FONT SIZE=+0 COLOR="#OFF">8.3.12.1</ID>
    Troy

  • Line color

    Hello,
    Does anyone of you know the awnser to my problem.
    I've a JTextArea with text in it how can I select a line and also color the whole line not the text but the background.
    thanks.

    Yes I know this but how do I select a specific line
    out of the TextArea please helpYou don't. Read the last sentence of my previous post.

  • Unable to decode and import the select wav/mp3 file

    Hi,
    I've been TRYING to test the Text-to-speech feature in
    Captivate 4. Problem: "Unable to decode and import the select
    wav/mp3 file" each and every time I want to use it. Frustrating!
    I also tried importing sounds from the library, same problem.
    My system is Vista Business 64Bit, 4Gb RAM, Intel SSD hard
    drive, conexant high definition audio 221 on a Lenovo T400.
    How do I fit this? I want to try it out damnt :)

    I went through the "unable to decode and import the selected wav/mp3 file" error.  After talking with an Adobe Rep,  I quickly realized that I could NOT use the directions.  I have no experience in using Command Prompts.  I have written down the directions by key stroke for those people that are similar to me.  Enjoy!
    For Vista and Win7,
    Click on the circle start menu,
    In the search box, type in command and in the generated list, "right-click" on the comman link and change to "run as administrator".
    Go back to the search box, type in command and hit enter.  This will take you to the command prompt window (black window w/ white text) lol
    You have to get to the right directory first.
    Type: cd (space-bar) .. (hit enter)
    Type: cd (space-bar) .. (hit enter)
    If Captivate is installed on Program Files (x86) ---
    Type: cd (space-bar) progra~2 (hit enter)
    If Captivate is installed on Program Files
    Type: cd (space-bar) progra~1 (hit enter)
    Type: cd (space-bar) Adobe (hit enter)
    Type: cd (space-bar) Adobe (space-bar) Captivate (space-bar) 4 (hit enter)
    Type: regsvr32 (space-bar) NSAudio.dll (hit enter)
    If you get an error at any point, re-key that particular line.
    Once you see that the last line of command went through, open up Captivate and test the Text to Speech.  These instructions fixed both computers I was working on!!!!

  • Setting Backgroud and fore color through Formula

    Post Author: Srinivas378
    CA Forum: Formula
    I am using cross tab in crystal report.For the summarized field ,I have to set Fore color,and Backgroung color differenly.
    Those colors I am getting from Database.While setting the colors all the cells of summarized field  are showing the very first color code.
    This is my function: in Basic syntax.
    WhilePrintingRecordsdim HexColor as stringHexColor ={vwUserTrainingReport.BGColor}Formula=RGB(HexaToDec(Mid (HexColor,2 ,2)) , HexaToDec(Mid (HexColor,4 ,2)) , HexaToDec(Mid (HexColor,6 ,2)))
    I have written an Hexa to decimal convertion:
    Function HexaToDec (Input AS String)
    Dim a AS NumberDim b AS Number
        Select Case Mid (Input,1 ,1)        Case "A"          a = 10        Case "B"          a = 11        Case "C"          a = 12        Case "D"          a = 13        Case "E"          a = 14        Case "F"          a = 15        Case Else          a = 0    End Select
        Select Case Mid (Input,2 ,1)        Case "A"          b = 10        Case "B"          b = 11        Case "C"          b = 12        Case "D"          b = 13        Case "E"          b = 14        Case "F"          b = 15        Case Else          b = 0    End Select
       HexaToDec = (a * 16) + b
    End Function
    Give me a solution as quickly as possible.

    Sorry - had to figure out how to put images into this forum (still trying to see how they get displayed...)
    Here is what I am doing:
    Multiplying this (cell by cell)
    Image: !http://public.me.com/andrewvignuzzi/Screen1.jpg!
    by this:
    Image: !http://public.me.com/andrewvignuzzi/Screen2.jpg!
    to get this:
    Image: !http://public.me.com/andrewvignuzzi/Screen3.jpg!
    So, for each row vector and column vector I get one result in a cell in the third table.
    (In this case, the answer is: 30,000,0000.09470*0.1099+00.3557... = 2,841,265; if you take the next row vector (one line down) and multiply it by the same column vector, you would get the 4,047,087 result in the last table, and so on..)
    My problem was that when I used the title "Series E" instead of "E Series" in the Column Vector table and I tried to set it to "absolute row" - it would not work. When I changed it to "E Series" it did. Why? While I use "Series E" as a title elsewhere, I would assume that Numbers has an internal reference that includes the table name as part of the identifier so that there is no conflict.
    Anyway - I seem to have solved it, but not in a way that makes sense to me and I sure would like to know what, if anything, I am doing wrong.
    Thanks!
    Andrew
    Message was edited by: AndrewVee

Maybe you are looking for

  • Report script taking very long time to export in ASO

    Hi All, My report script is taking very long time to execute and finally a message appears as timed out. I'm working on ASO Cubes and there are 14 dimensions for which i need to export all data for all the dimensions for only one version. The data is

  • When idoc failes for inbound sales orders then how to trigger a mail notifi

    Hi All, When idoc failes for inbound sales orders in SAP then i would like to send an email notificaiton to particular user id. Could you please let me know the settings for this requirement. Thanks in advance..

  • Mail 3.6 hangs/crashes on launch

    Hi there, Hope you guys can help me out a bit here. Every single time I launch mail.app, it hangs. It doesn't crash, it just hangs. In the Force Quit applications window, all I see is "Mail (not responding)". I can force it to quit, at which point th

  • Link to print report

    Whether it is possible to make in the report the reference to a press of this report or export in PDF?

  • Multi line ballon tool tip

    I have used ballon toolip, it have multiple lines to show the tool tip, but it is not working. I have added Component in bolloon tool tip to show multi line text , but still not showing correctly.