[RESOLVED] [solved] #Error with microsoft report
I added a parameter to the rdlc called paramTitle
Then I tried this as a demo
Code:
Dim params(0) As Microsoft.Reporting.WinForms.ReportParameter
params(0) = New Microsoft.Reporting.WinForms.ReportParameter("paramTitle", "Hello world")
ReportViewer1.LocalReport.SetParameters(params)
ReportViewer1.RefreshReport()
I bound a text box to that parameter with
Code:
=Parameters!paramTitle
Now when I run the program, the textbox says "#Error" rather than "Hellow world" as I would expect.
Does anyone see anything wrong here?
Thanks,
Dave
Re: #Error with microsoft report
Of course I figured it out right after I posted...
I simply had to use
Code:
=Parameters!paramTitle.Value
instead of just
Code:
=Parameters!paramTitle
Re: #Error with microsoft report
Well then, you can jus mark your thread resolved to let others know that you have solved your problem already.