Changing text in Report viewer



Hi All

I need to change text in a Report Viewer document at runtime

It is just the heading I want to change to match what the user has chosen as
the Report to view

How do I access the textbox in "GymMaster.Memberships.rdlc" (below) to
change the text
sql = "select * from members order by surname"

dt = getdata(sql)

If Me.ReportViewer1.LocalReport.DataSources.Count > 0 Then

Me.ReportViewer1.LocalReport.DataSources.RemoveAt(0)

End If

Me.ReportViewer1.LocalReport.ReportEmbeddedResource =
"GymMaster.Memberships.rdlc"

Me.ReportViewer1.LocalReport.DataSources.Add(New
Microsoft.Reporting.WinForms.ReportDataSource("Gym_masterDataSet_Members",
dt))

Me.ReportViewer1.RefreshReport()

Regards
Steve


.