Solved

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

Posted on 2010-11-08
3
486 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
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…

895 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now