I've a report that was constructed using an existing XML schema file. At runtime I am trying to pass my populated dataset to the report (7 tables in all).
I've tried using:
rptPrn.setdatasource(dataset.tables)
also tried:
rptPrn.setdatasource(dataset)
also tried:
rptPrn.Database.Tables.Item(0).SetDataSource(dsEDI.Tables(0))
rptPrn.Database.Tables.Item(1).SetDataSource(dsEDI.Tables(1))
rptPrn.Database.Tables.Item(2).setDataSource(dsEDI.Tables(2))
rptPrn.Database.Tables.Item(3).SetDataSource(dsEDI.Tables(3))
rptPrn.Database.Tables.Item(4).SetDataSource(dsEDI.Tables(4))
rptPrn.Database.Tables.Item(5).SetDataSource(dsEDI.Tables(5))
rptPrn.Database.Tables.Item(6).SetDataSource(dsEDI.Tables(6))
When the report prints it is blank and one page; should be 30 pages. Have I not implemented SetDataSource proplerly?
Thanks,
Oli
I've tried using:
rptPrn.setdatasource(dataset.tables)
also tried:
rptPrn.setdatasource(dataset)
also tried:
rptPrn.Database.Tables.Item(0).SetDataSource(dsEDI.Tables(0))
rptPrn.Database.Tables.Item(1).SetDataSource(dsEDI.Tables(1))
rptPrn.Database.Tables.Item(2).setDataSource(dsEDI.Tables(2))
rptPrn.Database.Tables.Item(3).SetDataSource(dsEDI.Tables(3))
rptPrn.Database.Tables.Item(4).SetDataSource(dsEDI.Tables(4))
rptPrn.Database.Tables.Item(5).SetDataSource(dsEDI.Tables(5))
rptPrn.Database.Tables.Item(6).SetDataSource(dsEDI.Tables(6))
When the report prints it is blank and one page; should be 30 pages. Have I not implemented SetDataSource proplerly?
Thanks,
Oli