Wrox Programmer Forums
|
BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7
This is the forum to discuss the Wrox book Professional SQL ServerReporting Services by Paul Turley, Todd Bryant, James Counihan, George McKee, Dave DuVarney; ISBN: 9780764568787
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 17th, 2004, 01:44 PM
Registered User
 
Join Date: Aug 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Background Color matrix

I have figured out how to evaluate and set the background color with IIF(Fields!dailyStatus.Value="3", "IndianRed","Lime").
This is great for a single value, but I need to use a type of If Then Else.

I have tried iif else but get error for "...no parameter for false part..."

Arnie Stewart
 
Old September 30th, 2004, 09:53 PM
BE BE is offline
Registered User
 
Join Date: Sep 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here is a way

On the report properties, click on the code tab and
type in the following code:

Public function getColor(theValue as string)
     if theValue = "3" then
    return "blue"
      else
    if theValue = "4" then
      return "red"
        else
       return "yellow"
      end if
      end if
end function

Then, set the background color with =code.getColor(Fields!dailyStatus.Value)

 
Old October 20th, 2008, 11:54 PM
Registered User
 
Join Date: Oct 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi all
I am trying to execute the Oracle package and Sql query within same dataset in SSRS 2005.
Oracle Package sets Environment variables for the sql query to exucute the query

Oracle package and Sql query as below

call eec_sys.eec_pck_logins.login('SDB','ASC','PP')

select id, m_pck_std_custom.id_desc(id, 1) from M_id

How can i execute the Oracle Package and sql query at once in same dataset of SSRS

 
Old October 21st, 2008, 01:12 AM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

Don't add an irrelevant post to a FOUR YEAR OLD thread.

Start a NEW THREAD. And give it a *GOOD* title.





Similar Threads
Thread Thread Starter Forum Replies Last Post
change color of background meena88 C# 2005 3 December 1st, 2009 04:48 AM
mdi-background color avats General .NET 1 February 28th, 2008 10:25 AM
background-color disappears harpua CSS Cascading Style Sheets 1 August 19th, 2005 04:53 PM
Get stylesheet's background color muklee Javascript How-To 2 October 31st, 2004 08:03 AM
Status Bar Background Color kumar_garg78 Beginning VB 6 1 August 30th, 2004 11:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.