Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 17th, 2004, 01:44 PM
Registered User
Join Date: Aug 2004
Location: Yuba City, Ca, .
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
  #2 (permalink)  
Old September 30th, 2004, 09:53 PM
BE BE is offline
Registered User
Join Date: Sep 2004
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

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"
    if theValue = "4" then
      return "red"
       return "yellow"
      end if
      end if
end function

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

  #3 (permalink)  
Old October 20th, 2008, 11:54 PM
Registered User
Join Date: Oct 2008
Location: mumbai, maharashtra, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

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

  #4 (permalink)  
Old October 21st, 2008, 01:12 AM
Friend of Wrox
Join Date: Jun 2008
Location: Snohomish, WA, USA
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts

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

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 01:21 PM.

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