Skip to content

Sub report problem

Bhim Kunwar

Asked Aug 31, 2008, 2:21 AM EDT3 answers
Share
LinkedInX

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.

3 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Bechir Bejaoui
    0
    Take a look  on this may it help
    0
  • Bechir Bejaoui
    0
    Take a look  on this may it help
    0
  • 0
     

    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))

    0