Skip to Content
author's profile photo Former Member
Former Member

Sub Report Linking

I am trying to make a bill of materials. I can go down 2 levels by linking the main report with the sub report. The problem I have is that some items from the sub report have a parts list attached to them. I am thinking if I can link the sub report to another sub report, I can pull this list.

Is it possible to link sub report # 1 and sub report # 2?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 11, 2008 at 06:10 PM

    Crystal Reports does not support subreports within subreports.

    If you can link all your tables why not a simple drill-down report (drilling down from group to group) or if that isn't an option - possibly a stored procedure pulling in the right data so that you can do it all from one report using the SP as the data source.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Try creating an array in subreport1 and use that array in subreport 2 by passing list using linked parameter and accordingly change the record selection formula in subreport 2. If your subreport1 is passing only one value then you can link dirrectly to the subreport or if you are able to pass the list then just pass it to the subreport 2 since it is a shared variable you need not link the array where you can directly use shared variable in record selection like

      field in join(array,",") something like this.



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.