<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Subreports — ReportBuilder Support Forums</title>
        <link>https://www.digital-metaphors.com/forums/</link>
        <pubDate>Wed, 11 Mar 2026 10:03:07 +0000</pubDate>
        <language>en</language>
            <description>Subreports — ReportBuilder Support Forums</description>
    <atom:link href="https://www.digital-metaphors.com/forums/categories/subreports/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>Iterate report and subreport</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21956/iterate-report-and-subreport</link>
        <pubDate>Sun, 05 Jan 2025 15:28:45 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>DIKonsult</dc:creator>
        <guid isPermaLink="false">21956@/forums/discussions</guid>
        <description><![CDATA[Hi,
what am I doing wrong here?

procedure TransalateReport(Report: TppCustomReport; Sprak: integer);
var
  liBand   : Integer;
  liObject : Integer;
  lObject  : TppComponent;
begin
  for liBand := 0 to Report.BandCount-1 do
  begin
    for liObject := 0 to Report.Bands[liBand].ObjectCount-1 do
    begin
      lObject := Report.Bands[liBand].Objects[liObject];
      if lObject is TppSubreport then
        TransalateReport(lObject.Report, Sprak)
      else
        begin
          // Handle my Object here
        end;
    end;
  end;
end;
]]>
        </description>
    </item>
    <item>
        <title>Subreport detail on one page</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21939/subreport-detail-on-one-page</link>
        <pubDate>Sun, 29 Sep 2024 09:38:43 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>Radim</dc:creator>
        <guid isPermaLink="false">21939@/forums/discussions</guid>
        <description><![CDATA[Could anybody help me please?

I have a report for printing invoices. In the detail of the report, I have a subreport for items. In the detail of the subreport, I have several regions and Memos stacked (catalog number, item name, second name, prices, description, note). How can I ensure that all regions in the detail of the subreport for one item print on the same page? At the end of the page, for example, only the first region (catalog number and name) is printed, while the other regions (prices) are printed on the next page. 
I tried setting the subreport to KeepTogether, but that didn’t help. For the last item on the first page, only the first region was printed again, the second page was blank, and the items printed again from the beginning on the third page, including those that were on the first page.

Radim]]>
        </description>
    </item>
    <item>
        <title>dirty letters in PDF component with PDFium</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21910/dirty-letters-in-pdf-component-with-pdfium</link>
        <pubDate>Mon, 24 Jun 2024 13:14:57 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>mtlmarko89</dc:creator>
        <guid isPermaLink="false">21910@/forums/discussions</guid>
        <description><![CDATA[Hello,

We have now tried the newer version 22.04 with the PDF component. We want to test this with PDFium and in our test we wanted to include a second page (terms and conditions) as a PDF. The PDF itself looks good. When I send the new document to the printer, it looks great. When output to a new PDF, it looks as if some of the letters are cut off.

Are there any settings that still need to be adjusted?

We initially suspected that the properties for sharp images still needed to be adjusted, but since the main page also contains images and they look clean, it doesn't really seem to be due to these properties.

Do you have any other advice?]]>
        </description>
    </item>
    <item>
        <title>Seeking advice on performance when using a subreport</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21850/seeking-advice-on-performance-when-using-a-subreport</link>
        <pubDate>Fri, 12 Jan 2024 23:27:08 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>JonRobertson</dc:creator>
        <guid isPermaLink="false">21850@/forums/discussions</guid>
        <description><![CDATA[Delphi 11.3, RB 22.03

I created a new report that includes a subreport. This is a typical master/detail scenario, with the subreport at the bottom of the master detail band and using pbChild PrintBehavior. When printing to screen, the preview form appears quickly but there is <i>sometimes</i> a significant delay of approx 15 seconds before the first page of the report appears.

The delay is not when opening either dataset. Both datasets open in 20 ms or less. The delay occurs sometime after MasterDataSet.AfterOpen and before DetailDataSet.BeforeOpen.

Any advice regarding possible causes would be appreciated. I have not seen this behavior with any other report. If required, I will set up a profiler to try to pinpoint the cause. Since the issue is intermittent, that could take significant time. I am hoping someone already has an ideal of what could cause the delay.]]>
        </description>
    </item>
    <item>
        <title>Fields of MasterDataPipeline don't show</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21798/fields-of-masterdatapipeline-dont-show</link>
        <pubDate>Mon, 07 Aug 2023 08:24:48 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>DIKonsult</dc:creator>
        <guid isPermaLink="false">21798@/forums/discussions</guid>
        <description><![CDATA[Hi,
as you may understand on my following question I'm new to Report Builder.
Using Delphi 11.3, MySQL 8 and ReportBuilder 22.02.
Try to create a simple Master Detail report based on three Datasets.
I have 3 ADOQuerys with Datasource and DBpipeline connected and in all three activated a SQL query in order to se the datafields that is to be connected in the MasterFieldLinks.
In the report builders data tree I can see the three pipelines but not the datafields of the top master pipeline. The SQL query is correct.
The structure in the data tree is as follows:
DatamoduleReport1
  |
   ------DBPipeline2 ( No fields showing)
              |
               -------DBPipeline1 (All fields showing)
                           |
                            ------DBPipeline4 (All fields showing)

Anyone have an idea on what I'm missing here?

Regards
Dag]]>
        </description>
    </item>
    <item>
        <title>Order of Subreports - ChildReports - ShiftRelaitveTo is not working</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21701/order-of-subreports-childreports-shiftrelaitveto-is-not-working</link>
        <pubDate>Sun, 16 Oct 2022 19:09:43 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>josef</dc:creator>
        <guid isPermaLink="false">21701@/forums/discussions</guid>
        <description><![CDATA[I have a report with 4 subreports. Print behavior is set to ppChild for all. For some time now (possibly after my last update of the ReportBuilder, the order is no longer correct. I set shiftRelativeto to blank for the first SubReport and entered the previous subreport for the others. But no matter what I enter in shiftRelativeto, the order does not change. It is always exactly (randomly) backwards in the order subreport 4,3,2,1, if I move the subreports to a different order in the designer, it is still printed in the order 4,3,2,1... .It's irritating me a bit ;-). In my Delphi code I have not programmed accordingly

]]>
        </description>
    </item>
    <item>
        <title>Missing line for rich text</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21665/missing-line-for-rich-text</link>
        <pubDate>Mon, 20 Jun 2022 08:19:06 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>skysqlcommy</dc:creator>
        <guid isPermaLink="false">21665@/forums/discussions</guid>
        <description><![CDATA[The report is designed as shown in the picture below
<img src="https://i.postimg.cc/q7cn9vhJ/rb.png" alt="image" />

There is a newline after this "Line 2"
<img src="https://i.postimg.cc/C5LnbH2M/richtext.png" alt="image" />

However, the newline is missing here after the "Line 2", 
it should have the newline after "Line 2"
<img src="https://i.postimg.cc/bN2Z7wW7/rb.png" alt="image" />]]>
        </description>
    </item>
    <item>
        <title>Subreport masters not appearing when no details</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21607/subreport-masters-not-appearing-when-no-details</link>
        <pubDate>Tue, 15 Feb 2022 22:19:30 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>FlaviusFernandes</dc:creator>
        <guid isPermaLink="false">21607@/forums/discussions</guid>
        <description><![CDATA[I also have a report where some masters have details. It will not print masters that have no details. I am using the rbEnt26d   

Below is a sample image.  There are 4 master items, with only two having details. 


https://www.facebook.com/ERPSiriusMobile/photos/a.123064021180438/2265817686905050/]]>
        </description>
    </item>
    <item>
        <title>Master-Detail SubReport when Details exist on Some Masters</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21297/master-detail-subreport-when-details-exist-on-some-masters</link>
        <pubDate>Tue, 17 Mar 2020 18:38:26 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>CasAsw</dc:creator>
        <guid isPermaLink="false">21297@/forums/discussions</guid>
        <description><![CDATA[Hello again, v20.1

Customer/Order/item/ItemDetail

I have a report loaded from a reports holding table.  It is basically a Customers Profit-Loss by Order Items.  Not all Items have ItemDetails.  Assume Item of service needed parts, those would be details.  Items run in Detail Band, ItemDetails SubReport is in Group Footer band on OrderNumber, ItemNumber

I've several configurations of DataSource, MasterSource or Parameter Query but I can only get those Order Items that have Details to show.  I need all Items with and without Details to show.]]>
        </description>
    </item>
    <item>
        <title>NewPageThreshold for subreports</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21529/newpagethreshold-for-subreports</link>
        <pubDate>Mon, 19 Jul 2021 07:48:26 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>Pebbles</dc:creator>
        <guid isPermaLink="false">21529@/forums/discussions</guid>
        <description><![CDATA[Hi,
for Groups is NewPageThreshold available. I think this would also a great benefit for Subreports.
Or is there another functionality to mimic this functionality with subreports?

Regards,
Josef]]>
        </description>
    </item>
    <item>
        <title>Information repeating</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21566/information-repeating</link>
        <pubDate>Tue, 26 Oct 2021 13:17:24 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>iagoholek</dc:creator>
        <guid isPermaLink="false">21566@/forums/discussions</guid>
        <description><![CDATA[Hey there guys, I'm having some trouble with my ReportBuilder. I got a detail band with a subreport (and it has datapipeline), but for some reason when he's printing a report that has two items on it, he prints the first page with those two items and its informations (everything works alright), but the second page he prints the same thing as the first page, I'm problably doing something wrong but I just can't find the answer! haha I'm willing to contact you guys and give more information via email if you need it.]]>
        </description>
    </item>
    <item>
        <title>Background color subreport tabs in design mode</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21544/background-color-subreport-tabs-in-design-mode</link>
        <pubDate>Wed, 01 Sep 2021 09:45:27 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>mvanakkeren</dc:creator>
        <guid isPermaLink="false">21544@/forums/discussions</guid>
        <description><![CDATA[Is it possible to change the background color of the subreport tabs? The selected tab is drawn with a blue background and letters in white font. The non selected tabs are drawn with a blue background with letters in black font. The non selected tabs are hard to read. ]]>
        </description>
    </item>
    <item>
        <title>Visualizing a subreport only in one copy of main report</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21375/visualizing-a-subreport-only-in-one-copy-of-main-report</link>
        <pubDate>Tue, 11 Aug 2020 13:04:34 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>BellM</dc:creator>
        <guid isPermaLink="false">21375@/forums/discussions</guid>
        <description><![CDATA[Hi all,

I have a report, which I want to print in three copies. In this report, I have a subreport, which I only need to print once. The subreport is in the summary band of the main report.
In all the ways I've tried to go by doing this, I always end up with only two copies of the main report (the third gets cut).
Any ideas if it is possible to achieve having the subreport in only one of the copies of the main report, while keeping the number of copies that need to be printed?]]>
        </description>
    </item>
    <item>
        <title>Adjust order of section type subreport</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21230/adjust-order-of-section-type-subreport</link>
        <pubDate>Fri, 25 Oct 2019 02:28:09 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>aza</dc:creator>
        <guid isPermaLink="false">21230@/forums/discussions</guid>
        <description><![CDATA[Hi, there

My report has 10 section-type subreports. I want to insert
a new section-Type subreport as the first one.
I solved this problem by editing report form directly to make
the object generating order as my hope.

Is there a smarter way to do this?

Thank you in advance 

Best wishes!

Yong]]>
        </description>
    </item>
    <item>
        <title>Subreport and part of the Report side-by-side</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21129/subreport-and-part-of-the-report-side-by-side</link>
        <pubDate>Mon, 03 Jun 2019 11:22:51 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>alex153</dc:creator>
        <guid isPermaLink="false">21129@/forums/discussions</guid>
        <description><![CDATA[I am trying to use ReportBuilder 11 or 12 with Delphi 2009. I can see that the subreport takes the whole horizontal belt/zone of the main report and no the components from the main report can be placed in the subreport region.

It would be great if I could move the subreport a bit to the right side and put the components from the main report side by side with the subreport in one horizonatl belt/zone.

Is is possible to do this in the old (11, 12) versions of of ReportBuilder? Is it possible to do this in the latest (19) version?

A.]]>
        </description>
    </item>
    <item>
        <title>Repeat image on each page</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21106/repeat-image-on-each-page</link>
        <pubDate>Fri, 19 Apr 2019 15:21:51 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>mallred</dc:creator>
        <guid isPermaLink="false">21106@/forums/discussions</guid>
        <description><![CDATA[I have a subreport that has a tablegrid component with 2 columns. The left column is an image. The right column has it's own subreport that show detail info. When this detail info has enought records that it spills over to a 2nd or 3rd page, I need to show the image in the first column again. How can I accomplish this?]]>
        </description>
    </item>
    <item>
        <title>Missing last page (X of Y - page Y is missing)</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21102/missing-last-page-x-of-y-page-y-is-missing</link>
        <pubDate>Sun, 14 Apr 2019 01:01:48 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>mallred</dc:creator>
        <guid isPermaLink="false">21102@/forums/discussions</guid>
        <description><![CDATA[I have several sub reports on my main report. Each subreport is it's own "section" of the overall report. Each one has page X of Y at the bottom. Each sub report has a Group defined to iterate through the data. Each one has the same problem, the last page is missing. For example, I get page 1 of 3, 2 of 3, then the next subreport starts with 1 of 4 , 2 of 4, 3 of 4, then the next subreport starts.

I just cannot figure out what is going on. Report Builder obviously knows I need 3 (or 4) pages, and truely the data that should be on the last page is not there. What could be causing this?]]>
        </description>
    </item>
    <item>
        <title>Align group footer to page bottom with variable print position</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21104/align-group-footer-to-page-bottom-with-variable-print-position</link>
        <pubDate>Tue, 16 Apr 2019 15:13:52 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>Boom</dc:creator>
        <guid isPermaLink="false">21104@/forums/discussions</guid>
        <description><![CDATA[Hi Experts,

I am trying to align a group footer to the bottom of a page, but I stumbled upon a problem:

I have a main report with a header and a group header. The group header contains a 'header text' which has a variable length.
For the detail band I use a subreport. I am trying to align the group footer of this subreport (totals) to the bottom of the page. I tried setting the print position of the group footer, by subtracting the height of the header text from it, but Report Builder seems to be unable to determine the height of a stretched object at runtime.
The problem only occurs when the totals are on the same page as the variable header text.

How can I proceed to print the group footer on the bottom of the page, with or without use of the print position?

As there are additional pages added after the totals, in the main reports group footer and summary band, it is difficult to use the main reports summary band for this. The subreports summary band does not allign to the bottom of a page.

Thanks for your reply.
Kind regards,

Tom]]>
        </description>
    </item>
    <item>
        <title>Printing a subreport with a report page layer header and footer</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21092/printing-a-subreport-with-a-report-page-layer-header-and-footer</link>
        <pubDate>Tue, 02 Apr 2019 13:17:00 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>gurevitz</dc:creator>
        <guid isPermaLink="false">21092@/forums/discussions</guid>
        <description><![CDATA[Delphi XE6
RB 19.3 Pro 

My subreport prints begins corretly after the report header layer, but it is printing over the footer layer, i didn't stop on the correct position it should. What should I do?

Tks.]]>
        </description>
    </item>
    <item>
        <title>Subreports with different orientation in the same report</title>
        <link>https://www.digital-metaphors.com/forums/discussion/20851/subreports-with-different-orientation-in-the-same-report</link>
        <pubDate>Wed, 11 Apr 2018 11:02:45 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>gurevitz</dc:creator>
        <guid isPermaLink="false">20851@/forums/discussions</guid>
        <description><![CDATA[I have a that should have many different full reports, including an index. Some of that reports have portrait orientation, some landscape. I've been trying to use subreports as child. I can do it if they have the same orientation, but if not, there are many problems:
1. Using all like a child and ParentPrinterSetup=false, doesn't allow the oriention to be landscape
2. Changing all subreports to section, then Main Page Header doesn't show on that page, page numbering stays strange...

What is the best way to do it?

BTW, I have all of that subreports done before like independent reports. Is the a way to call them inside the main report?

Tks]]>
        </description>
    </item>
    <item>
        <title>Subreport wont group with MasterDataPipeline</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21029/subreport-wont-group-with-masterdatapipeline</link>
        <pubDate>Fri, 23 Nov 2018 12:36:52 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>merc</dc:creator>
        <guid isPermaLink="false">21029@/forums/discussions</guid>
        <description><![CDATA[Good day, gents

I have the weirdest of the problems. I'm trying to group 2 subreports, one beside the other, by date.
For this I have 3 datapipelines. 1 master with a field that contains the date and 2 others which feed the subreports.

The problem is one can't seem to group right. Let's say i have 2 days. The problematic subreport will print like this:

01/11: 
	'Desc 1' - 01/11
	'Desc 1' - 02/11
02/11: 
	'Desc 1' - 01/11
	'Desc 1' - 02/11
, whereas the other, things go the intended way 

01/11: 
	'Desc 1' - 01/11
02/11: 
	'Desc 1' - 02/11

here goes a attachment to make things clearer: https://imgur.com/a/T2ONOtO]]>
        </description>
    </item>
    <item>
        <title>switching subreport print behavior from fixed to section produces a blank report</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21018/switching-subreport-print-behavior-from-fixed-to-section-produces-a-blank-report</link>
        <pubDate>Wed, 31 Oct 2018 20:11:09 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>carl921</dc:creator>
        <guid isPermaLink="false">21018@/forums/discussions</guid>
        <description><![CDATA[I have a report with a subreport in the group header band
it is set to pbfxed to display 15 records of data in pass one
in pass two I make the detail and group footer visible false
and set the header band subreport to pbsection
using Delphi 2010 and rb 12 I get the desired data with a blank page in front of each group
setting to pbchild dropped the subreport header and footer
in toyko and rb 18
the first pass show correctly but the second pass shows serveral blank pages (one for each group value)
the dataset is reopened between pas one and two
how can I get the data to shiow in pass two]]>
        </description>
    </item>
    <item>
        <title>Make SubReports title stay with details on the next page</title>
        <link>https://www.digital-metaphors.com/forums/discussion/20992/make-subreports-title-stay-with-details-on-the-next-page</link>
        <pubDate>Fri, 21 Sep 2018 10:26:58 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>Red_Romanov</dc:creator>
        <guid isPermaLink="false">20992@/forums/discussions</guid>
        <description><![CDATA[Hello.

I have a report with multiple subreports in it. When the top of 2nd subreport coincides with page break, it leaves the title band on one page and the rest of the report on the next pages.

I know I can use KeepTogether with the subreport, but if I use this and the first subreport ends with a large remaining area on one page, and the 2nd subreport takes larger than the remaining area, this 2nd subreport will skip to the next page, leaving a large blank area after the 1st report which I don't want it to happen.

Do you have any idea how to prevent this orphan title? I can "prevent orphans" a group header but I cannot do the same to the subreport title.

Cheers]]>
        </description>
    </item>
    <item>
        <title>Bug with dtBoolean report parameters</title>
        <link>https://www.digital-metaphors.com/forums/discussion/20870/bug-with-dtboolean-report-parameters</link>
        <pubDate>Mon, 23 Apr 2018 09:11:59 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>francescof</dc:creator>
        <guid isPermaLink="false">20870@/forums/discussions</guid>
        <description><![CDATA[Today i used a Boolean parameter for the first time in a report in an end user reporting application.

I just created an empty report with a boolean parameter:
<img src="https://snag.gy/yob5gV.jpg" alt="image" />

But this code does not compile, it gives "incompatible types".
<img src="https://snag.gy/oM5yOk.jpg" alt="image" />

Are you aware of this or am i doing some mistake?

Thanks.
]]>
        </description>
    </item>
    <item>
        <title>How to set Summary.Height from RAP?</title>
        <link>https://www.digital-metaphors.com/forums/discussion/20869/how-to-set-summary-height-from-rap</link>
        <pubDate>Mon, 23 Apr 2018 09:06:57 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>francescof</dc:creator>
        <guid isPermaLink="false">20869@/forums/discussions</guid>
        <description><![CDATA[I am  not able to set a subreport summary properties in RAP.
which is the syntax?
The idea is
SubReport.Summary.Visible := False;

thanks.]]>
        </description>
    </item>
    <item>
        <title>Report with subereports ppSection, but using a common Header/Footer?</title>
        <link>https://www.digital-metaphors.com/forums/discussion/20864/report-with-subereports-ppsection-but-using-a-common-header-footer</link>
        <pubDate>Wed, 18 Apr 2018 16:59:05 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>gurevitz</dc:creator>
        <guid isPermaLink="false">20864@/forums/discussions</guid>
        <description><![CDATA[Using Delphi XE6/B15.05; I have a big report (almost a book), full of subreports and some of them have data, some only text. Is there a way of use a common Header for the ppsection subereports (I want just one header for all).
If I do a header (that has a jpg, etc) for every subreport, the report keeps very heavy, and and I got some error when working on it.

Tks
David]]>
        </description>
    </item>
    <item>
        <title>DrillDownComponent</title>
        <link>https://www.digital-metaphors.com/forums/discussion/20834/drilldowncomponent</link>
        <pubDate>Sun, 25 Mar 2018 01:58:16 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>earenasn</dc:creator>
        <guid isPermaLink="false">20834@/forums/discussions</guid>
        <description><![CDATA[Hello

I am new here and I do not speak English very well, so I will try to do my best to be understood.

SubReport2.DrillDownComponent I want to assign the name of the variable that will allow to click and also I want to avoid that they can click.

I have used this line:
SubReport2.DrillDownComponent: = ShowIF;

ShowIF is a label that is shown to be able to click, but it does not work for me.

thank you, help me with this

regards

Ernesto]]>
        </description>
    </item>
    <item>
        <title>Subreport totals on summary band on main report error</title>
        <link>https://www.digital-metaphors.com/forums/discussion/757/subreport-totals-on-summary-band-on-main-report-error</link>
        <pubDate>Tue, 14 Feb 2017 10:39:05 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>rbuser</dc:creator>
        <guid isPermaLink="false">757@/forums/discussions</guid>
        <description><![CDATA[Hi
I'm using RB 17.03.  I have a master detail report. Main report contains
master datasource and the subreport contains detail datasource. The
subreport has a summary band with a total and so on with every master
record.
I need to show a summary band in the main report with the total adding
of every subtotal, on the summary band of the subreport.
I put a DBCalc variable in the summary band of the subreport with the
total of a record field and on the OnCalc event of this variable, I set
the value of a global variable (for example  gTotal := DBCalc1.Value).
Then in the summary band of the main report I have a variable of type
Double and on its OnCalc event I add to its value the gTotal value
(myGrandTotal.Value := myGrandTotal.Value  + gTotal).
It works fine except that the last total value in the subreport, is not
contained on this grand total but if after previewing it, I print to PDF
for example, then it calculates correctly and the last subtotal value is
included on the grand total.  If the whole report needs only one page it
works ok but if the whole report needs more than one page I have the
problem mentioned
How do I solve this issue? I show an example of the problem. I hope it's
understandable


Main record 1
	subreport record value 1
	subreport record value 2
	subreport record value 3
	-------------------------
	Subreport summary total (1 + 2 + 3) = A

Main record 2
	subreport record value 1
	subreport record value 2
	subreport record value 3
	-------------------------
	Subreprot summary total (1 + 2 + 3) = B

Main record 3
	subreport record value 1
	subreport record value 2
	subreport record value 3
	-------------------------
	Subreprot summary total (1 + 2 + 3) = C

Previewing shows grand Total main report only adding A + B. Then if I
print to PDF or Excel Grand Total adds A + B + C

Thanks



---
El software de antivirus Avast ha analizado este correo electr?nico en busca de virus.
https://www.avast.com/antivirus
]]>
        </description>
    </item>
    <item>
        <title>Changing text on a header band label when printing sub-report</title>
        <link>https://www.digital-metaphors.com/forums/discussion/758/changing-text-on-a-header-band-label-when-printing-sub-report</link>
        <pubDate>Mon, 26 Dec 2016 20:53:35 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>rbuser</dc:creator>
        <guid isPermaLink="false">758@/forums/discussions</guid>
        <description><![CDATA[I'm attempting to do something which seems simple in theory, but is
turning out to be very difficult in practice.

I have a report that prints a bunch of sub-reports in its summary band.
When one of these sub-reports is printing, I need a label in the
reports header band to have additional text appended to it.

I initially thought I could use the
TppChildReport.OnStartFirstPass/OnEndFirstPass events to set a flag,
which could be used to determine whether this extra text should be
appended. But due to the way the events fire, this isn't a reliable
approach. In particular it breaks down when navigating pages in the
report preview, or when printing a sub-range or pages, as the
OnStartFirstPass event may not fire when expected.

I then thought I could duplicate the parent report's header in the
sub-report, and change the label text on the sub-report header only.
But in order for the sub-report header to be shown, I had to set the
TppSubReport.PrintBehaviour property to pbSection. And when I do that,
the sub-report is not printing where I need it to, as I can't use the
ShiftRelativeTo property any more.

Any hints of how to achieve this seemingly simple task would be
greatfully received.

-- 
Cheers,
David Clegg
https://www.twitter.com/delphijunkie

"Facts are meaningless. You could use facts to prove anything that's
even remotely true." - Homer Simpson
]]>
        </description>
    </item>
    <item>
        <title>Raised exception class EVariantInvalidArgError with message 'Invalid argument'</title>
        <link>https://www.digital-metaphors.com/forums/discussion/759/raised-exception-class-evariantinvalidargerror-with-message-invalid-argument</link>
        <pubDate>Wed, 26 Oct 2016 18:48:33 +0000</pubDate>
        <category>Subreports</category>
        <dc:creator>rbuser</dc:creator>
        <guid isPermaLink="false">759@/forums/discussions</guid>
        <description><![CDATA[Hi,

I'm converting my Delphi 7 project to Delphi XE 6 20.0.16277.1276 Update 1 
using the ReportBuilder Enterprise version 15.5 Build 275, I have been 
having trouble with models Master / Detail where I DataSet Details Filtered 
being at the "AfterScroll" DataSet Master. The routine works in DBGrid, 
percorendo all records, however when chamdo command ppReport.print the 
following error is thrown.

"Raised exception class EVariantInvalidArgError with message 'Invalid 
argument'"

Some process has changed in RB for Delphi XE6?

Thank you so much.

Ivan 
]]>
        </description>
    </item>
   </channel>
</rss>
