Hi all,
I'm working in Crystal Reports 2011 and have been dealing with this data conundrum for a while now. The requirements of several reports that I need to create involve the combination 3 one-to-many relationships that are supposed to be reported all together. Here's the situation:
This is a Vegetation Management database, so each Tree has a unique ID. This TreeID is used to link to 3 different tables, all with a one-to-many relationship: ActivityRecords, RestrictionNotes and PropertyNotes.
Typically, the use of subreports would be the answer here, correct? Say we group by TreeID, display the desired data from the ActivityRecords in the Details section, then create 2 subreports for the RestrictionNotes and PropertyNotes so that you don't print out every permutation of data from these three tables. The problem is, with anything other than a very small result set, this causes Crystal Report Designer to crash while running all of those subreports. If it is run on the Enterprise Server, it runs for 20 minutes then times out.
This is a large database with several million rows at play. We've made sure that all of our join fields are indexed in the database (which is Oracle, by the way) so that was ruled out as a cause of the poor performance.
So my question is, what other techniques could be used to report these data structures?
Thanks Much,
Dan
I'm working in Crystal Reports 2011 and have been dealing with this data conundrum for a while now. The requirements of several reports that I need to create involve the combination 3 one-to-many relationships that are supposed to be reported all together. Here's the situation:
This is a Vegetation Management database, so each Tree has a unique ID. This TreeID is used to link to 3 different tables, all with a one-to-many relationship: ActivityRecords, RestrictionNotes and PropertyNotes.
Typically, the use of subreports would be the answer here, correct? Say we group by TreeID, display the desired data from the ActivityRecords in the Details section, then create 2 subreports for the RestrictionNotes and PropertyNotes so that you don't print out every permutation of data from these three tables. The problem is, with anything other than a very small result set, this causes Crystal Report Designer to crash while running all of those subreports. If it is run on the Enterprise Server, it runs for 20 minutes then times out.
This is a large database with several million rows at play. We've made sure that all of our join fields are indexed in the database (which is Oracle, by the way) so that was ruled out as a cause of the poor performance.
So my question is, what other techniques could be used to report these data structures?
Thanks Much,
Dan