Dim mainRp As New MainReport
Dim subRp As New SubReportTest
subRp.Section3.Height = 500
CrystalReportViewer1.ReportSource = mainRp
上面的代码不起作用,也没有显示任何错误
但没有这样的事情
mainRp.Subreports("SubReportTest.rpt").Section3.Height = 500
mainRp.Subreports("SubReportTest.rpt").????? 'for set the height of subreport