Passing string value to DataReport (rdlc)

bhe

New member
Joined
Oct 2, 2007
Messages
2
Programming Experience
Beginner
I have 2 forms and 1 DataReport (rdlc), 1 form to enter the string value to be display on the 2nd form with ReportViewer.
The question is, can I pass the string value to be entered into a textbox inside the report?

Plizz help me with this problem, it makes me crazzzzzyyyyyy :confused:
 
Thank's a lot

Just want to say thank you to RTaulbee, because his post on 05-23-2006, 9:59 PM, I can finish my job, and it does answer my question.

Dim Parm(0) As Microsoft.Reporting.WinForms.ReportParameter
strFilter = Me.fltr.Text
Parm(0) = New Microsoft.Reporting.WinForms.ReportParameter("Filter", strFilter)
Form2.rpt_viewer.LocalReport.SetParameters(Parm)
Form2.rpt_viewer.RefreshReport()
Form2.Show()

Hope this script can help anyone who has the same problem with me.
Once again, thank you so much for your help ;)
 
Back
Top