i am trying to change an object in the page header at runtime in vb. Can anybody tell me the correct way.
Report.Sections("PageHeaderSection1").ReportObjects.Item("text2").SetText = "ad"
can anybody help me correct it
Printable View
i am trying to change an object in the page header at runtime in vb. Can anybody tell me the correct way.
Report.Sections("PageHeaderSection1").ReportObjects.Item("text2").SetText = "ad"
can anybody help me correct it
dim cr as new crystalreport1
Dim SampleReportText1 As CrystalDecisions.CrystalReports.Engine.TextObject = CType(cr.ReportDefinition.ReportObjects.Item("Text1"), CrystalDecisions.CrystalReports.Engine.TextObject)
SampleReportText2.Text = textbox1.Text