none
Creating crystal report's sub report in visual basic 6 RRS feed

  • Question

  • I'm trying to use Crystal reports 9 to add report with sub report on vb 6 code. This will print without previewing.

    Dim RptRec As New CryMainReport RptRec.Database.SetDataSource sqlMainReportRec RptRec.Subreport1.OpenSubreport.Database.SetDataSource sqlSubReportRec RptRec.ReadRecords RptRec.PrintOut False

    But in the printout it's not showing the data for the sub report. I placed this sub report in the main report's footer section. and sub report is an existing report of the project.

    Sunday, February 7, 2016 4:01 AM

Answers