Solved

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

Posted on 2010-11-08
3
493 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

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…
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
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…

710 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