Solved

Need help with getting Weekday from data parameter in SSRS report headder

Posted on 2010-11-08
3
492 Views
Last Modified: 2012-08-14
I have a report that I am writing in SSRS.  In the report header, Iv'e got a textbox that I need to display "Wednesday 11/10/2010 yadda yadda yadda".  How do I get the "Wednesday"?

Currently I've got the textbox value set to:

= "For " & Parameters!ForDate.DayOfWeek & " " & Parameters!ForDate.Value & " yadda yadda yadda " 

but that just yields "For 0  11/8/2010 yadda yadda yadda"

How do I easily convert the numerical day value to text without a lot of syntax?

Thanks.
0
Comment
Question by:okacs
  • 2
3 Comments
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
ID: 34088723
Try:
= "For " & Parameters!ForDate.DayOfWeek.ToString() & " " & Parameters!ForDate.Value & " yadda yadda yadda " 

Open in new window

0
 

Author Comment

by:okacs
ID: 34088741
DOH!  <smack>






Thanks!
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 34088765
NP. We've all had those moments  ;)
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VMWare environment audit 8 70
Need help how to find where my error is in UFD 6 40
New to SSRS, extremely slow running report. 8 29
SSRS - Date Report Options 2 30
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question