Crystal Report from multiple tables

  • Thread starter Thread starter RAF
  • Start date Start date
R

RAF

i'm trying to make report using dataset having two tables

in viewer page iam doing

rpt.SetDataSource(ds.Tables(0))
rpt.SetDataSource(ds.Tables(1))
CrystalReportViewer1.ReportSource = rpt

but it is not working

please tell the right way.

thanx in adv
RAF
 
Crystal Reports does not read tables into the record
source. The only way to set the source is by using
multiple datasets.

rpt.SetDataSource(ds1.Tables(0))
rpt.SetDataSource(ds2.Tables(0))

Crazy I know, but that's what you have to do.

Shawn
 
Back
Top