Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Switch Statement with Different Dataset Expand / Collapse
Author
Message
Posted Friday, June 21, 2013 7:21 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, July 10, 2014 8:13 AM
Points: 1, Visits: 27
Hi,

I'm trying to come up with a Switch statement that points to a different dataset other than the primary dataset in my report. "dst2Reports" is my secondary dataset as you can see below. The coding below isn't working. Any ideas would be great!!


=Switch(First(Fields!ReconstructionPlanned.Value,"dst2Reports")=1,"Completed",First(Fields!ReconstructionPlanned.Value,"dst2Reports")=2,"Planned for Future",First(Fields!ReconstructionPlanned.Value,"dst2Reports")=3,"Not Planned/Unneccesary"))
Post #1466171
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse