Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Populating data to a Crystal report subreport using VB.net

Status
Not open for further replies.

bether

Programmer
Jan 3, 2007
28
US
What is the proper way to populate data in a subreport. I have the following, and I am getting the error "The report has no tables". The report is tied to a strongly-typed datatable.

Here's where it fails:

reportDoc.OpenSubreport("AnnualELIform2.rpt").SetDataSource(ds.Tables(1))

Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top