Global Background Colour with individual Overide Text Boxes

Hi I am looking to apply a global background colour using the details properties.
However I have individual text boxes that have their own background colour based on expressions that I want to overide the global details properites.
So I set up the global one with this expression
IIF(Fields!Number_of_Defendants.Value = 1 ,"Yellow","Transparent")
for the individual text box I used a nested IIF
=IIF(Fields!Bill_Rate.Value = 115,"Red",IIF(Fields!Number_of_Defendants.Value = 1 ,"Yellow","Transparent"))
This works but I'm wondering if their is a easier way so I don't have to have the 2nd clause.
Regards

Hi aivoryuk,
As per my understanding, I think the expression you post is simple way. If you don’t want to use IIF function, I suggest we can try to use switch function as below to achieve the similar requirement:
=Switch(Fields!Bill_Rate.Value = 115,"Red",Fields!Number_of_Defendants.Value = 1 ,"Yellow")
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • Has anyone been able to get a mouse scroll wheel to work with a scrolling text box in authorware?

    Has anyone been able to get a scroll wheel to work with a
    scrolling text box in authorware? Is there any way to attach the
    hardware of a scroll wheel to a scrolling text in a piece? Sure
    would make things easier for the reader.

    I doubt it. Maybe using the WinCtrls.u32? But after a few
    tries years
    ago (before the WinCtrols.u32), I'd pretty much given up.
    Erik
    edwin e wrote:
    > Has anyone been able to get a scroll wheel to work with
    a text box in authorware?
    Erik Lord
    http://www.capemedia.net
    Adobe Community Expert - eLearning
    http://www.adobe.com/communities/experts/
    http://www.awaretips.net -
    Authorware Tips!

  • How to link one scroll bar with two dynamic text boxes.

    How to link one scroll bar with two dynamic text boxes.
    If i move scroll bar in one text box,automatically text will
    be moved in another text box.But scroll bar is not visible.
    Can you please help me.
    Thanks in advance.

    See the following article:
    JavaScript - setFocus Method for tabbing to next form field
    And see if iOS can even handle the sample form.
    iOS and android devices are not a powerful as your desktop of laptop computer and have limited support for JavaScript within PDF forms. This limitation for specific apps ranges from none to quite a bit but not all JavaScript.

  • Problem with bullets in text boxes

    Hi,
    I haven't seen this problem written up anywhere but I am
    having problems with my text formatting differently in text boxes
    when I've used bullets in the text. I am using Captivate 2.
    So here's what happens:
    If the text caption has a bullet
    anywhere in the body, when I publish my captivate course, the text
    looks like normal 12 pt Arial.
    If there is a text box without any bullets, the text looks
    like it was bolded.
    The next result is that I have two types of body text
    throughout my course.
    I went into every slide and verified that there is no other
    text formatting going on and I did find that Impact was sometimes
    in the same text boxes where I had bullets but I finally got rid of
    all the impact. However, the problem remains. Can anyone help me?
    Thanks,
    Lin

    Hi Lin and welcome to our community
    My guess here is that you are using the Transparent caption
    type. When you do this, the caption anti-aliases the text inside
    and many claim it looks either bold or fuzzy. You have two options.
    1. Use Bullets on all captions. Don't worry, you don't have
    to actually SEE the bullets. Just press Enter a few times and apply
    bullets to one of the blank lines. Then size the caption so the
    bullet part is hidden from view.
    2. Implement a trick discovered by fellow Adobe Community
    Expert Paul Dewhurst. You can see his trick by
    clicking
    here.
    Hopefully one of these works for you... Rick

  • Creating 3 links each with pop-up text box on the same slide

    Hi,
    I'm trying to create a slide that has 3 links and each link has a pop-up text box. I do not want to separate the pop-up text into separate slides. I have it so that there are 3 click boxes and each have the action "show" the proper text box. I also created another click box that acts as a close button where the action is to hide the pop-up box. I have an extra click box hidden on the page to make sure the user stays on the page and not automatically advance.
    Once I have the user click on the first "link" it shows the text box. Once the user clicks the close click box it takes the user to the next slide. I just need it so that it shows the user the pop-up text and then when the user closes the pop-up and returns to showing the 3 options/links. So it basically refreshes the slide instead of going to the next slide.
    Thanks,

    This will be a little tricky to achieve. This is because per default Adobe has decided that any interactive object (like a button or a click box) that has a user defined action on it (like continue, pause, open URL etc.) automatically continues to play the project when clicked.
    Therefore when you click your button it will show your textbox, but it will also continue to play on your timeline.
    You can read some more about it here: http://forums.adobe.com/thread/479725?tstart=0
    I did something similar to what you want one time and I just created a bunch of click boxes and made them very small and put them in a corner. The click boxes were placed on the timeline with 0.2 seconds between the pauses. Then I created my "real" buttons to show/hide the text boxes and placed them on the timeline before the other click boxes.
    The result is that once a user clicks your button it will show the text caption you want - continue on the timeline and pause at the first click box. When they click another button the same will happen. Just make sure that you have a lot of click boxes (I think I put like 30) and make sure that your navigation button for advancing to the next slide is set to "go to next slide" and not "continue" as that would make it pause at all your click boxes as well.
    /Michael
    Click here to visit the www.captivate4.com blog

  • Issue with creating a text box from a loop

    I was hoping someone could take a look at this code and maybe
    help me find out why this isnt working. What I am trying to do is:
    (NOTE: I have used a few differents scripts and combined them, so
    the code may not be the greatest).
    Pull Data from a PHP file (The PHP file gets it's data from
    database)
    Then run a loop that brings in First Name, Last Name, Jersey
    Number, and Position
    Then before it loops and gets the next player it creates an
    array that creates 3 text boxes with Full Name, Jersey Number and
    position
    then it loops through the process again untill all of the
    records have been retreived.
    I'm not sure if its because I have a do while loop inside of
    a for loop inside of a function and an Array. I'm new to Arrays and
    loops. the issue is it wont display the text boxes.
    NOTE: When I trace this, the data is being retrieved.
    Thanks for the help

    "this" inside your onLoad() method refers to your loadvars
    instance, receive. and the loadvars class has no createTextField()
    method, so you're not going to create any textfields if that code
    is in the onLoad() body.
    to remedy, reference a timeline instead of receive.

  • I have a requirement with select and text boxes. JSP / JDBC

    I have a Combo Box which iswritten by a JSP by connecting to DB!
    When i click on a <option> corresponding the other two text boxes must be loaded with data!
    if i have list of EmpID in <select>, in one text box i should get his CITY and other Occupation !
    What i thought is .... getting all the data from database. select empid from emp and write a combo and select city,occupation from emp, intp ARRAYLISTs!
    function updatData(){
    var index=document.projalloc.associateid.selectedIndex;
    }if i onSelect=updateData(), (i will get index of empid,as it is a combobox) using which i have to retrieve the values of city and occupation !!
    BUT HOW !
    I am gettin the index of empid but how to get the data into textbox !!!!

    well there are many ways of doing this.
    1).Render all the data corresponding to each employee at a time.By making a javascript arrays and try to get back the data from there.
    2).Save the ArrayList of DTO beans in the scope of session.Use AJAX call a CGI(Servlet/JSP action) fetch the values from the session render the response as XML now parse the XML data using javascript DOM and then update the consecutive textboxes.
    Just as an example checkout my answer in the below post.It was an example given for a dependent drop downs.however, we can definately use the same concept to update textboxes too.
    http://forum.java.sun.com/thread.jspa?threadID=5209661&messageID=9844137#9844137
    Hope that might help :)
    REGARDS,
    RaHuL

  • Cannot print document with added barcode text boxes

    G'day
    I'm adding two text boxes to an illustrator document with Applescript, but when I go to print, ?I get an error 'Cannot print the illustration. The Color Management settings are inconsistent.'
    The error message is not error trappable.
    I have to barcode thousands of documents a year, and this is a big deal breaker. Is there any fix, please?
    Regards
    Brian Christmas
    try
      set printerName to my theLargePagePrinter as string
      set paperOptions to {class:paper options, name:largePaperSize}
      set jobOptions to {class:job options, designation:all layers} # , print options:printOptions}
      set colorOptions to {class:color management options, profile kind:printer profile}
      set flatOpts to {class:flattening options, clip complex regions:true, gradient resolution:360, rasterization resolution:360}
      set printOptions to {class:print options, printer name:printerName, paper settings:paperOptions, flattener settings:flatOpts, job settings:jobOptions, color management settings:colorOptions}
      try
      set p to 17
      tell application "System Events" to tell process "Adobe Illustrator"
      click menu item "Fit to Artwork Bounds" of menu 1 of menu item "Artboards" of menu 1 of menu bar item "Object" of menu bar 1
      end tell
      end try
      set p to 18
      say 7
      print document 1 options printOptions
      say 8
      on error errmsg number errnum
      tell application "System Events" to display dialog "Error in printing illustrator document. " & errmsg & " number " & errnum giving up after 40
      end try

    G'day Owen, & W_J_T.
    Unfortunately your suggestions did not work for me.
    I've tried using the GUI to access the print dialog box, but as usual with Adobe, they've stuffed that up too. What I did find however, that the print dialog box recognised keystrokes, and always defaults to the Printer box when opening.
    Also, the Printer box sets itself to a matching item of whatever key is pressed, and so does the Printer Preset box.
    So, even tho I can't select any given box, provided I have a Printer Preset set, I can access it by the following (slower) method...
    activate
      tell application "System Events" to tell process "Adobe Illustrator"
      keystroke "p" using command down
      keystroke (character 1 of (my theLargePagePrinter as text)) as text
      repeat 17 times
      keystroke tab
      tell current application to delay 0.1
      end repeat
      keystroke (character 1 of (my theLargePagePrinter as text)) as text
      keystroke return
      end tell
    Note that if you have more than one printer or Printer Preset starting with the same letter, then you'll have to use more than just the first character of your printer name.
    Regards
    Brian Christmas

  • New tabs open Google homepage correctly but with cursor in text box rather than search box.

    I have Google as my home page. When I open Firefox 7.0.1 the Google home page opens correctly with the cursor in the search box. I have set new tabs to also open in the home page. New tabs do open in Google but with the cursor in the text box rather than the search box. As I recall, this didn't happen before upgrading to 7.0.1 (actually, I think that I was using a tab configuration plug-in that may have been nuked in the Firefox update). This is driving me crazy, is there a solution for 7.0.1?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Setting Background Colour with a Value Retrieved from a Database

    I'm retrieving different colours from a database and I want
    to set the background colour of a canvas to the colour retrieved.
    I've tried doing the following:
    <mx:TileList
    x="2" y="237"
    direction="horizontal"
    dataProvider="{MakeUpColours.lastResult.Colour}"
    backgroundColor="#FFFFFF"
    width="288" height="167.04999"
    themeColor="#FFFFFF">
    <mx:itemRenderer>
    <mx:Component>
    <mx:Canvas width="35" height="35">
    <mx:Canvas width="30" height="30" x="5" y="5"
    backgroundColor="{data.ColourNo}">
    <mx:Image source="
    http://localhost/Flex/Personalised%20Palettes-debug/{data.@PictureSrc}"/>
    <mx:Label text="{data.@ColourNo}"/>
    </mx:Canvas>
    </mx:Canvas>
    </mx:Component>
    </mx:itemRenderer>
    </mx:TileList>
    But it just makes the background colour black. Any
    suggestions?
    Thanks
    Katy

    "katychapman85" <[email protected]> wrote in
    message
    news:g6svqs$eli$[email protected]..
    > I'm retrieving different colours from a database and I
    want to set the
    > background colour of a canvas to the colour retrieved.
    I've tried doing
    > the
    > following:
    >
    > <mx:TileList
    > x="2" y="237"
    > direction="horizontal"
    > dataProvider="{MakeUpColours.lastResult.Colour}"
    > backgroundColor="#FFFFFF"
    > width="288" height="167.04999"
    > themeColor="#FFFFFF">
    >
    > <mx:itemRenderer>
    > <mx:Component>
    > <mx:Canvas width="35" height="35">
    > <mx:Canvas width="30" height="30" x="5" y="5"
    > backgroundColor="{data.ColourNo}">
    > <mx:Image
    > source="
    http://localhost/Flex/Personalised%20Palettes-debug/{data.@PictureSrc}"/
    >>
    > <mx:Label text="{data.@ColourNo}"/>
    > </mx:Canvas>
    > </mx:Canvas>
    > </mx:Component>
    > </mx:itemRenderer>
    > </mx:TileList>
    You're referring to both data.@ColourNo and data.ColourNo. Is
    it an
    attribute or an element?

  • Changing background colour with hex code?

    Hi, i want to change the background colour of my documents. So far i can only find 1 way of doing it by going file > document setup then chaning the colour under transparency. I have two problems with this though. First, it seems to only change the colour in illustrator and not the actual image when saved/printed etc. And secondly i need to change the colour to a specific hex colour and i'm at a loss of how to do this.
    I have done a little searching on this but so far i seem to be failing at finding the answer. Anyone help?

    E'ss,
    First, it seems to only change the colour in illustrator and not the actual image when saved/printed etc.
    That is because it is only something like a simulation of coloured paper, so you can see what it looks like when printed on such paper. In other words, it is not part of the artwork and therefore not transferred.
    And secondly i need to change the colour to a specific hex colour and i'm at a loss of how to do this.
    When you set the colour, one option is RGB which is an equivalent to the hex colour. To find the right RGB combination without having to remember/calculate it, you may do as follows:
    1) Create a rectangle (or whatever);
    2) In the Color palette/panel flyout choose Web Safe RGB and insert the desired hex colour (the first two characters as R, the next two as G, and the last two as B);
    3) Switch to (normal) RGB and read the values to use.

  • JFrame background colour, with LookAndFeel

    Dear All:
    I am using frame for my java application. No matter what background colour I set, it won;t change on the screen? I dont really know why this is the case.
    Today, When I move my program to another PC, the jframe color, button style, changes completely! I don't know what is going on.
    Is it something to do with lookAndFeel

    Hi
    Try adding the following to change the background colour of the jFrame
    it needs to be after the component has initialised.
    colour can be changed to suit
    this.getContentPane().setBackground(new Color(218,208,200)); // this is needed to set the background of the jFrame

  • Changing the background colour for the pop up box in UWL

    Hello Expert,
    I got the confirmation popup box In my UWL application for the confirmation process. By default the background for this popup box is Blue.
    I want change it to new colour.
    FYI, I have an Iview from web dynpro Application for this popup. How can I change this?
    Kindly advice.
    Regards,
    Hafizah.

    Hi,
    I guess you have to override the stylesheet that is set by the Portal for the Web Dynpro application.
    Have a look at the properties of your WD iView.
    http://help.sap.com/saphelp_NW70EHP1core/helpdata/en/f4/651741f163f023e10000000a155106/content.htm
    Best regards,
    Guillaume

  • When converting word doc to pdf, my images with text only show the background color of the text box.

    I have a word doc that I am trying to conver to pdf.  I have jpegs with text boxes on top of them on one page.  It looks great on the screen but after I convert to pdf, the text boxes only have half the text, the first half of the text box is just white - the background color.  If I take the background color out of the text box, the text converts over fine but I need the background color.
    I have tried many things here on the print settings, standard, high quality print, unchecking the compression on the images.  Any help?

    Thank you for your posting. These forums are specific to the
    Acrobat.com website and it's set of hosted services, and do not
    cover the Acrobat family of desktop products. Please visit the
    following forums for any questions related to the Acrobat family of
    desktop products:
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/

  • Setting a global/default background colour?

    Hi,
    Is there a way in which I can set all objects in my program to have the same background colour with a global command, rather than have to do it for every single object seperately.
    Dave.

    Thats sounds about right, but come to think of it, I
    dont want to set ALL components to the same backround
    colour. I want to keep things like certain buttons
    the same.What do you mean certain buttons ? With a Look and Feel class you can set the colors for ALL the buttons the same , and all the colors for say the text components the same , but if you want some buttons a certain color and other buttons another color I would Make my own button , say ColorButton that extends JButton, and then you pass a Color in the constructer and set se color ... Something like that ??

Maybe you are looking for

  • Cannot update my iTunes to 10.4.1 on my Windows 7 Home Premium 64bit machine

    Cannot update my iTunes to 10.4.1 on my Windows 7 Home Premium 64bit machine. Why? It seems like I am not the only one with this problem. Is there a solution? I have tried to download separately without any success.

  • Emails wont display properly

    I like the Mail app: its easy to configure and most emails display properly. Some emails, though, will not display at a readable resolution : the font is too small to read. When I try to click / touch to zoom (as in maps or safari) in it doesn't work

  • Trying to download photoshop elements 13 onto my mac

    I was running a trial version of photoshop elements 13 and after the 30 days, I decided to buy it. I bought the actual CD to put onto my mac computer. I am trying to install it now and the installation keeps failing. When I click on the error summary

  • Adobe Media Encoder All Video Output 'White'

    Hi all, I am attempting to use Adobe Media Encoder to  export a QT h264 optimized for upload to facebook from a QT file exported 'Same as Source' from Avid MC 5.0.3, whic would be 1080i60 1920x1080.  The source file playsback correctly in QT player o

  • What SSD does Apple put in the MBP 13"?

    From a couple threads it sounds like they use the Toshiba SSD. Is this true? According to a couple test web sites the Toshiba drive is one of the slowest (like half the speed of most of the drives).