Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
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…

813 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

10 Experts available now in Live!

Get 1:1 Help Now