Home Subreports
New Blog Posts: Merging Reports - Part 1 and Part 2

subReports slow

edited July 2003 in Subreports
I have a master record in my header with line items in the detail. Within
this detail I have set up a subreport. All three utilise queries accessing
an Advantage database.

The problem is that the subreport query seems to be evaluated for each line
in the detail even when it is not being drilled down. It should only be
queried if I do a drill down on any particular line, instead, it is being
opened for each detail line on the page regardless especially as RB seems to
repaginate the whole page again.

Logically this is because the subreport query is in a master-detail
relationship with the detail query as it's master. So the question is how
can I get it to only evaluate if a drill down is opened?

Comments

This discussion has been closed.