Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Reporting Services Development
 Format a parameter

Author  Topic 

collie
Constraint Violating Yak Guru

400 Posts

Posted - 2007-09-23 : 08:46:55
Hi,



I have a parameter in the report and i gave it a default value of 31/9/2007. However, in the report it shows 9/31/2007. How can i format a parameter?

Please note that the value does not appear in the body of the report. It is a report parameter with prompt enter date and a default value.



Thanks


Whisky-my beloved dog who died suddenly on the 29/06/06-I miss u so much.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2007-09-24 : 14:11:38
Reporting Services uses VB.NET, so you can use all VB.NET functions in your report. I believe VB.NET has a FormatDateTime function.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
   

- Advertisement -