SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 Call Column
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sz1
Constraint Violating Yak Guru

United Kingdom
451 Posts

Posted - 02/26/2013 :  10:05:47  Show Profile  Reply with Quote
Hi

I have created several columns with expressions, not actual fields, how do I call a column thats not in the dataset? so a column called Test for example, how would I call this to work out conditional formatting?
Thanks

SZ1
Learning and development is the driving force in the universe...!

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 02/26/2013 :  22:59:43  Show Profile  Reply with Quote
you can call it using ReportItems collection

ReportItems!Textboxname.value etc

also if you're trying to set conditional formatting for same textbox and has to invoke its own content use Me.value

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

sz1
Constraint Violating Yak Guru

United Kingdom
451 Posts

Posted - 02/27/2013 :  05:08:37  Show Profile  Reply with Quote
Thanks

Can you show me an example using the Me.value for conditional formatting, thanks.

SZ1
Learning and development is the driving force in the universe...!
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 02/27/2013 :  05:14:44  Show Profile  Reply with Quote
=IIF(Me.value <0,"Red","Black")

set the above expression inside font color property of textbox to make negative values appear in red

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

sz1
Constraint Violating Yak Guru

United Kingdom
451 Posts

Posted - 02/27/2013 :  05:38:43  Show Profile  Reply with Quote
Ok so the Me.value looks at its own cell/data...
Thanks

SZ1
Learning and development is the driving force in the universe...!
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 02/27/2013 :  23:17:56  Show Profile  Reply with Quote
yep...it does

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000