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

trouble with subreports printing...

edited October 2004 in General
Hi, I have a report with a structure like this
sr -> Subreport,
rg -->Region


On the main Report:

srA
srB
srC
srD
srF

and inside srD:
rg1 (some labels and dblabels)
sr2
sr3
sr3
sr5
rg2 (just a line)

The main report is on twopass settings (and by the record I'm using the
ppline master detail)
The problem is on the srD:
When the main report is calculating I can see on the screen how the
rg1,sr2,sr5 and rg2 for the first srD record are drawn and then againf the
rg1,sr2,rg2 for the next record....
but then on the second pass the rg1 of the second srD is for some reason
printing OVER the subreports
of the previus record.

so instead of have:

(srD record1: ) rg1
sr2
sr5
rg2

(srD record2:) rg1
sr2
rg2

(.... next records the same)

I have:

(srD record1: ) rg1
(srD record2:) rg1
(next records just the rg1s too)


Also when the srD has just one record, I can see all of the details.
What can be happening???


thanks a lot in advance.

Comments

  • edited October 2004
    Hi Eugenio,

    This is not a known issue with ReportBuilder. Be sure you have the
    ShiftRelativeTo property properly set for all the subreports in your report.
    Also, if the report looks ok during the first pass, you might try setting
    the Report.CachePages property to True and see if that helps the issue. If
    you are still unable to solve the problem, please send a small example
    demonstrating this behavior in .zip format to support@digital-metaphors.com
    and I'll take a look at it for you.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2004
    thanks Nico, I just also notice that this happen when the report is too big,
    like 20 pages or more.. when
    the report is just 5 pages or so, the subreports print ok.

    I going to try the cache property to see what happen, but I cant use it on
    the report because cause some troubles with other funcionality (in specific
    printing a dinamic label: if I see the report on preview and then send it
    to the printer, the label is the same always if I have the cache on true).

    I'm going to try the cache anyway and look a little further on the problem
    so I can narrow it a little more. Thanks a lot Nico!!

This discussion has been closed.