Hi
You can modify the text of a textbox anywhere on the report it doesn0t matter on which section it is located
VB Code:
Dim crreportobject As CrystalDecisions.CrystalReports.Engine.ReportObject For Each crreportobject In crReportDocument.ReportDefinition.ReportObjects If TypeOf (crreportobject) Is CrystalDecisions.CrystalReports.Engine.TextObject Then Dim crtextobject As CrystalDecisions.CrystalReports.Engine.TextObject If Trim(crreportobject.Name) = "Text4" Then crtextobject = DirectCast(crreportobject, CrystalDecisions.CrystalReports.Engine.TextObject) crtextobject.Text = "Hello" End If End If next
Regards
Jorge




Reply With Quote