Hi All:
I wanna have DateTime calendar filter in report, so i create a parameter call EndDate which defualt vavlue today, now i have problem how can i get the value from Date Time calendar after every time user selected new date, then i need to pass this date time value to subreport.
Thanks
Nick
Not sure I understand your request well. Are you asking how to pass a parameter value from a main report to a subreport? You may want to read the following BOL page: http://msdn2.microsoft.com/en-us/library/aa337167.aspx. In particular, you can pass parameter values to subreports by editing the subreport properties in the main report and setting the parameter expression to =Parameters!EndDate.Value
-- Robert
|||hi Robert.
Thanks for your reply, now i got another error after i set up the date time parameter in subreports.
In the property of sub report , i use =Parameters!WeekEnding.Value, weekEnding is date time type parameter both in main and sub report.
now i run the report. i got error like below:
An error occured during local report processing. The value provided for the report parameter "WeekEnding" is not valid for it's type.
I have no ideas about this error message. it works fine if i change WeekEnding type to string both in main and sub report. is that anything i missing out here?
thanks
Nick
No comments:
Post a Comment