|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, November 08, 2012 4:00 AM
Points: 1,
Visits: 7
|
|
I have a dataset with a parameter as which is passed to a query as shown below.

The issue here is DataSet parameter queryOptions does not accept the value from the Report Parameter Date.
If i hardcode any value e.g <CalendarDate> 08/11/2012 </CalendarDate> instead of <CalendarDate> = Parameters!Date.Value </CalendarDate> the report works fine.
What wrong am i doing while passing parameter.
I even created another Dataset Parameter named Date and assigned Parameter Value [@Date] even that did not work.
Note: Parameter Date is of type DateTime
|
|
|
|
|
UDP Broadcaster
      
Group: General Forum Members
Last Login: 2 days ago @ 8:25 AM
Points: 1,467,
Visits: 922
|
|
I believe your parameter expression is invalid.
You should try.
="<XML><CalendarDate> " + = FormatDatetime(Parameters!Date.Value.ShortDate).ToString()+ "</CalendarDate> </XML>"
|
|
|
|