Dynamically Set Subreport Background Color to the Same Value as Main Report Background Color

I have a report that contains a subreport.  The main report has groupings in it.  I am dynamically setting the background color of the group rows based on an expression.  That part is working fine.  The problem that I am having is that
I don't know how to get the subreport to "inherit" the background color of the grouping that holds it.
Basically, I have different row shadings on my report differentiating the groupings except for the rows where the subreport shows.
How do I go about setting the subreport background color to equal it's contaiing grouping's background color?  Thanks in advance for any and all assistance provided.

The parameter method given by gpshukla will send the info to the subreport, but you don't need the color parameter in the main report, only the subreport. The trick is in setting the value of that parameter.
Right-click the cell with the embedded subreport, you can select subreport properties.
Select Parameters and add a parameter.
The name column is the name of the parameter in the subreport (color) and value is the value to set it to.
Set name to "color" (no quotes).
Set Value to the same expression used to set the background color for the row.
In the subreport, click the design surface to select the report (not header or footer).
In the properties pane, select background color and choose expression from the dropdown.
Type =Parameters!color.Value into the expression builder.
This will work assuming that background color in the main report row will not change without also refreshing the subreport.
"You will find a fortune, though it will not be the one you seek." -
Blind Seer, O Brother Where Art Thou
Please Mark posts as answers or helpful so that others may find the fortune they seek.

Similar Messages

  • Subreport on the same page as main report

    I have a supreport designed to print on the same page as the main report.  The subreport is alligned with the main report in the design view, but when I print it, the columns do not align.

    Right click any field ( on the main report the subreport is just like a field)
    on the local menu select "Size and Position"
    in the dialog box set X to 0 leave all the other fields ( BTW is X non zero?)

  • How can I set up two iPhones with the same contact, photos, music etc... but a different sim card and phone number. They will both be my phones, but one will be for use in other countries.

    How can I set up two iPhones with the same contact, photos, music etc... but a different sim card and phone number. They will both be my phones, but one will be for use in other countries.

    Phone A = phone with information you want duplicated
    Phone B = phone that you want to copy from A
    Backup Phone A.
    Wipe Phone B using these instructions. What to do before selling or giving away your iPhone, iPad, or iPod touch - Apple Support
    Phone B should be on the 'Hello' screen. Do not swipe it. Launch iTunes. Plug in Phone B.
    When iTunes asks if you want to set up as new phone or restore from backup, choose restore from backup of Phone A.
    After this setup, any changes to one phone (i.e. adding a contact, downloading an app) will have to be manually duplicated on the second phone, if that is your desire). Making changes to one phone will not affect the other after setup.

  • What is the best way to set up multiple devices in the same household?

    Our family has a bunch of devices (phones,pads,pods) all set up under the same appleID.  The idea was to be able to share iTunes content among devices.  The problem is that there is personalized data merging between devices (address book, apps, etc).  Is there a way to set up multiple devices under the same account while maintaining their own identity so that Each user can have their own apps, addresses, etc without having to sift through everyone else's stuff?

    Continue to share your iTunes ID, but use different IDs for other services such as FaceTime, iMessage and iCloud.  (When you share the same iCloud account across multiple devices, any synced data is merged and the merged list appears on all devices sharing the account.)
    To change the ID For:
    iMessage, go to Settings>Messages>Send & Receive (Receive At in iOS 5), tap the ID sign out, sign back in using the other ID.
    FaceTime, do the same thing in Settings>FaceTime.
    iCloud, you'll have to delete the account, create a new account with the other ID, and migrate your data to the new account.  Before deleting the account, if you have any photos in photo stream that are not in your camera roll or backed up somewhere else save these to your camera roll or you will lose them.  To do this, open the photo stream album in the thumbnail view, tap Edit, tap all the photos you want to save, tap Share, then tap Save to Camera Roll.  Once this is done, go to Settings>iCloud, scroll to the bottom and tap Delete Account. When prompted about what to do with the iCloud data, be sure to select Keep On [iDevice].  Next, set up a new iCloud account using a different Apple ID (if you don't have one, tap Get a Free Apple ID at the bottom).  Then turn iCloud data syncing for contacts, etc. back to On, and when prompted about merging with iCloud, choose Merge.  This will upload the data to the new account.  Finally, to un-merge the data you will then have to go to icloud.com on your computer and sign into each iCloud account separately and manually delete the data you don't want in each account (such as deleting the other person's contacts from your account, and vice versa).
    This article may be of interest: http://www.macstories.net/stories/ios-5-icloud-tips-sharing-an-apple-id-with-you r-family/.

  • Can you use 2 sets of bluetooth headphones at the same time with the Ipad 4?

    Hi, I was wondering if anyone could tell me if I can use 2 sets of bluetooth headphones at the same time with the Ipad?
    It is so my children can watch a film or listen to music together.
    Thanks

    No

  • Can I pair and use more than one set of bluetooth speakers at the same time on my ipod touch 4.0

    can I pair and use more than one set of bluetooth speakers at the same time on my ipod touch 4.0 or Iphone 4s or Ipad 2?

    You can only connect to one device at a time using Bluetooth, See article below for more information.
    http://support.apple.com/kb/ht1664
    While your iOS device can maintain multiple pairing records, it can only connect to one headset or hands-free device at a time. This prevents your iOS device from sending your data to the wrong Bluetooth accessory.

  • Can i set up my ipad in the same itouch account?

    can i set my new ipad in the same account/place where i currently have my itouch set up? will this affect what i currently have in my itouch or will it see the difference when i connect my ipad and itouch? thank you

    You can use the same account and iTunes library with both - iTunes will recognise that it's a different device and you can then chose what to sync or not to sync. I use my iPad, iPhone, and iPod Touch on the same computer without any problem.

  • When i turn on my Ipad air In the cornors of the Black Screen It has white stuff near the top bottom  left and Right   When it's all it turned on it's fine But when I go to a black Background It  does the Same is this normal?

    When i turn on my Ipad air In the corners of the Black Screen It has white stuff near the top bottom  left and Right   When it's all it turned on it's fine But when I go to a black Background It  does the Same is this normal
    It
    I
    O

    when I turn on my ipad and the black screen comes on I have a slight white light running along the bottom meaning the whole screen is not black. Is ths normal.
    better details Sorry
    N

  • Color Correction Effect: "Change color to" change more that one color in the same clip(pp Cs4)

    Hi all, I have watched and tried some tutorial to achieve this. My question though is how to change more than one color in the same clip. I'm asking because when I tried I had no problem to "color pick" one shade of my (Rock face) and turned it into a natural color picked from a good clip. But I was left with all the other shades to work on and if I repeated the procedure (pick the next destination color to replace) it cancelled my previous change so it seems that I can change only one color... I must be doing something wrong.

    Wow! I did play a few other Youtube 3 color correction, but this one is so good and comprehensive. I did also like RGB curves tutorial. I don't know if all this is appropriate for my 1983 VHS clip nearly all green (I probably had the wrong white balance). What I achieved so far is not very good but I think much more watchable than all green! Than You again  for this . I do also realise these guys are expert and still they have to use lot trials and errors and various techniques before getting what they want. I do appreciate their generosity to make some of their knowledge available to all of us.

  • I want to use multiple colors in the same box - Pantone plus process. I am trying to create a support plate of cyan under a PMS.

    I want to use multiple colors in the same box - Pantone plus process. I am trying to create a support plate of cyan under a PMS.

    How is the external drive formatted?
    Allan

  • YTD and accumul. depreciation have the same value when dpis is 2 years ago

    Hi all
    I am using FA and i have some problems. I have just setup this module and now i want to migrate assets in the system. The customer gave me an excel with the following fields that want to be in the system like: asset cost, accumulated depreciation, date placed in service, ytd accumulation and so on.
    the problems are:
    1) when i want to enter new asset manually the ytd depreciation and accumulated depreciation are required to be equal. ok so far, i register new asset on test environment and when i enter the date placed in service for example two years ago (because that is the real date placed in service of the asset) and run depreciation, the system has calculated correctly the accumulated depreciation, but has calculated the same value even for YTD depreciation which is not true, because in this case accumulated depreciation and ytd depreciation are completely different. how to solve this problem? How can i put correct values in this fields?
    2) when i enter these assets directly in the fa_mass_additions table according to the fixed assets user guide, i have the following errors: when i put "ON HOLD" on queue name, and open these assets on the system, the on hold field has no value (is empty)
    When i try to run post mass additions, the report is not finding the parameter (book) because the system is giving en error message telling me that there is no value in this list of values
    please help to solve this problems because i am not being able to migrate assets for the company.
    Thank you and best regards

    gaskins,
    You may have different Color Settings, and if you use Pantone you should be aware that the whole interpretation has changed (a number of times, most radically recently).
    If you say more, more can be said.

  • How to use the region parameter of main report for subreport chart titles?

    I am using Crystal Reports 11.
    I create 1 main report with 10 sub-reports that contain cross-tabs & charts. The main report has a parameter regarding 3 different areas: region1, region2, and region3.
    I use the method of adding the u2018regionu2019 parameter of main report to the selection formula of the sub-reports. So, I can select 'region' from main report to controll outputs in sub-reports by region.
    I use formulas for chart titles, e.g.:
    Select {Product Code}
    Case 'a111':
      u2018Region1 u2013 a111 Counts'
    Case u2018b222u2019:
      u2018Region1 u2013 b222 Counts'
    u2026
    u2026
    Default:
    u2026
    Since I pass the u2018regionu2019 parameter of main report to sub-reports, I have to change chart titles dynamically based on the region I select.
    How can I use the region parameter from main report in the formulas to get chart titles dynamically?
    Thank you in advance.

    Thank you.
    I am not using Chart Title with "Chart Expert".
    I am using a formula for chart titles, e.g.:
    Select {Product Code}
    Case 'a111':
      u2018Region1 u2013 a111 Counts'
    Case u2018b222u2019:
      u2018Region1 u2013 b222 Counts'
    u2026
    u2026
    Default:
    u2026
    I drag this formula above the charts and it looks like a dynamic title. So, for product a111, the chart title would be "Region1 u2013 a111 Counts"; for product b222, the chart title would be "Region1 u2013 b222" Counts; and so on ...
    Because I pass the region parameter from master report to subreport, I want to change the region part of the chart titles dynamically.
    For example,
    when select Region1, the chart titles should be: "Region1 u2013 a111 Counts"; "Region1 u2013 b222"; ...
    when select Region2, the chart titles should be: "Region2 u2013 a111 Counts"; "Region2 u2013 b222"; ...
    I want to add the region parameter into the tiltle formula.
    How should I do?

  • Retrieve the same value for all rows

    Hi Folks,
    I am a newbie to Kodo JDO. I have a little but important problem. I use a
    query to retrieve data with a simple filter like PName=='A'. Normally it
    should retrieve 3 rows with 3 different values but it does not. Instead I
    got 3 rows but with all the same value of one row???
    Do I have a configuration problem?? Oh, I forgot, I use postgresql 8.0 on
    Windows...
    Thx a lot....
    Juergen

    Hi,
    You may want to turn on the SQL log (use the kodo.Log property, and set
    the SQL channel to TRACE... for more details on logging, check out
    chapter 3 in the Kodo Ref Guide) and see what SQL is being generated.
    Once you see the SQL, does it look right? If you run the generated SQL
    in your SQL command line, do the results match what you expect? If that
    doesn't help, maybe post the SQL and some info about your mapping.
    Thanks,
    Greg
    J wrote:
    Hi Folks,
    I am a newbie to Kodo JDO. I have a little but important problem. I use a
    query to retrieve data with a simple filter like PName=='A'. Normally it
    should retrieve 3 rows with 3 different values but it does not. Instead I
    got 3 rows but with all the same value of one row???
    Do I have a configuration problem?? Oh, I forgot, I use postgresql 8.0 on
    Windows...
    Thx a lot....
    Juergen

  • All AI channels have the same value - NI PCI-6221 and NI PCI-6229

    Hello,
    I use the example aiex1.cpp for a multichannel AI read with the mseries devices 6221 and 6229.
    This example works for one channel, but the other channels have the same value (+- 0.001 Volt difference).
    For example: I set 5Volt on the first channel and then the other channel have 5Volt too.
    What should I consider in the configuration?
    Please, can someone help me?
    Best regards,
    Heiko
    Solved!
    Go to Solution.

    Hi Heiko,
    Like Moritz, I'm curious what signals you have connected to your AI channels. What voltage do you expect to read on each channel?
    Tom gave me your initialization code and it looks like you've modified aiex1.cpp. Does the example work without any changes?
    I have some more questions that will help me determine where the problem could be coming from, but these two are the easiest. We'll keep getting more and more specific as we remove possible causes.
    Joe Friedchicken
    NI VirtualBench Application Software
    Get with your fellow hardware users :: [ NI's VirtualBench User Group ]
    Get with your fellow OS users :: [ NI's Linux User Group ] [ NI's OS X User Group ]
    Get with your fellow developers :: [ NI's DAQmx Base User Group ] [ NI's DDK User Group ]
    Senior Software Engineer :: Multifunction Instruments Applications Group
    Software Engineer :: Measurements RLP Group (until Mar 2014)
    Applications Engineer :: High Speed Product Group (until Sep 2008)

  • All AI channels have the same value

    I use the example aiex2.cpp for a multichannel AI read with the mseries devices NI6280.
    This example works for one channel, but the other channels have the same value
    For example: I set 5Volt on the first channel and then the other channel have 5Volt too.
    What should I consider in the configuration?
    beilei
    Solved!
    Go to Solution.

    Hello Beilei,
    I think that you are running into the AI ghosting issue.  Are the other channels you are using connected to ground when you connect the first channel to 5V?  If the other channels are floating, they will read the same value as the first channel...5V.
    Steven T.

Maybe you are looking for