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
 General SQL Server Forums
 New to SQL Server Programming
 Microsoft Reporting Services help

Author  Topic 

Shelly1
Starting Member

25 Posts

Posted - 2009-06-26 : 04:58:29
Hi
I have created a report that uses date parametrs with the following code:
Declare @Year int;
Declare @Month int;
Select @Year=2009, @Month=4;

WHERE INCDATE >= @StartDate AND INCDATE <= @EndDate

however it is in american format and sometimes throws the following error message NB - i have set the data type to datetime!

The value provided for the report parameter 'End Date' is not valid for its type
Can anyone help me please
thanks in advance



Mich

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-06-26 : 13:38:47
try to pass the date values in iso format (yyy-mm-dd). Also make sure the language property of your report is set to english us.
Go to Top of Page
   

- Advertisement -