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

Subreport will not open with opensubreport method

Status
Not open for further replies.

MarkOates

Programmer
Joined
Oct 8, 2001
Messages
1
Location
GB
Hi,

I have a problem with the following code:

Set cxSubReport = cxReport.OpenSubreport (CrystalReportObjects.Item(iSection).Name)

I have looped through the sections of the crystal report to get the sub report name, which is correctly returned (I have looked at the properties of the crystalreportobject), when I step through this line I get an error which says 'Invalid Subreport Name'.

Hope someone can help with this!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top