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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting datasource of an embedded subreport

Status
Not open for further replies.

infimo

Technical User
Apr 8, 2004
22
US
How can I set the datasource of an embedded subreport to an ADO.NET dataset? I can set the datasource of the main report using the setDatasource method of the ReportDocument object.

I am using Crystal Reports.NET with VB.NET.

Thanks a loooot in advance. I've been stuck on this for a long time!!

Infimo
 
Yes, I did try it out as explained in this article but that was not the problem.

This may be quite silly, but I was specifying the SubreportName incorrectly. I assumed that the Name property of the subreport object (VB.NET) is what I need to use.

Turns out I need to use the SubreportName property.

:-$

Infimo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top