in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Performance Problems with big tables and subreports

Last post 02-19-2008 1:21 AM by eppinkf. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 02-19-2008 1:21 AM

    Performance Problems with big tables and subreports

    I have a performance problem with the following scenario:

    ParentTable (with up to 10000 rows), ChildTable (with up to 20000 rows), for each parent there are 0 - 4 child-rows

    The layout in the report for child-table-data is like the following:

    Label     Value1     Value2     Value3

                 Value4     Value5     Value6

    The label is only in the first line and the following values are in columns. All this must only be displayed if the ChildTable has at least 1 row for the parent-row.

    Currently implemented via:

    MainReport based on ParentTable

    -> ChildReport based on ChildTable

    If at least one child row exists

    Label      ChildReportDetail based on ChildTable

    ChildReportDetail with Column - Layout

    -> Performance Problem, because of many "joins"

    10000 x 20000 x 20000 ?

    How can the above layout be implemented by only one Subreport based on ChildTable?

    Hope all this was clear enough, you can also see the attached file.

    Filed under: ,
Page 1 of 1 (1 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.