Hello,
I use to pass records to textbox of crystal report as
CType(rpt.ReportDefinition.ReportObjects("TxtPhn"), CrystalDecisions.CrystalReports.Engine.TextObject).Text = "Phone No:" & CStr(Dtinfo.Rows(0)(2)) & " Fax No.:" & CStr(Dtinfo.Rows(0)(3))
but i have to pass records to subreports in similar fassion.
casn any one help me.
Bechir BejaouiRank #144 · 15.9K pointsPosted Aug 31, 2008, 1:47 PM EDT
Bechir BejaouiRank #144 · 15.9K pointsPosted Aug 31, 2008, 1:47 PM EDT
kalpesh rathod2 pointsPosted Sep 1, 2008, 2:41 PM EDT
CType(rpt.openSubReport("abc.rpt").ReportDefinition.ReportObjects("TxtPhn"), CrystalDecisions.CrystalReports.Engine.TextObject).Text = "Phone No:" & CStr(Dtinfo.Rows(0)(2)) & " Fax No.:" & CStr(Dtinfo.Rows(0)(3))