Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | 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 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
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)

  #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
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

  #4 (permalink)  
Old October 21st, 2008, 01:12 AM
Friend of Wrox
 
Join Date: Jun 2008
Location: Snohomish, WA, USA
Posts: 1,652
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.
 


Thread Tools
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 03:48 AM
mdi-background color avats General .NET 1 February 28th, 2008 09: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 07: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 11:19 AM.


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