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

nicocizik

About

Username
nicocizik
Joined
Visits
2,424
Last Active
Roles
Administrator
Company Name
Digital Metaphors Corporation

Comments

  • Hi Phil,

    Are you certain the UserName is identical to the aParentName parameter? Try
    tracing into the if condition and place a watch on UserName and aParentName
    to see what the problem might be.

    --
    Regards,
  • lChildReport references to the parent report. You want to use
    lNestedSubReport.Report when loading the template...



    --
    Regards,

    Nico Cizik
    Digital Metaphors
    in Adding a subgroup to another subgroup using code Comment by nicocizik March 2009
  • Hi Phil,

    To gain access to a report object that has already been created, you will
    either need to use a report object loop or keep track of a reference to
    those objects after they are created. For instance, you could create a…
  • Hi Phil,

    There are two parts to a subreport, the TppSubreport which is what you place
    on the main report and the TppChildReport which is the actual design of the
    subreport. If you would like to add a subreport to a current su…
  • Hello,

    If you are accessing the subreport object in Delphi code, you are going to
    want to use the Name property. From RAP code you want to use the UserName
    property.

    The latest version of ReportBuilder inlcudes a b…
  • Hi Rodger,

    In my testing with 11.04 I am unable to recreate the issue. If possible,
    please send a simple example demonstrating the problem that I can run on my
    machine to support@digital-metaphors.com and I'll take a look at …
  • Hi Rodger,

    Try setting the Group.HeaderForOrphanedFooter property to False and see if
    that helps the issue.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
  • There is a patch available for RB 11.04 that fixes this issue. Email
    support@digital-metaphors.com if you would like the patch.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    in Subreport and Trailing Blank Page Comment by nicocizik May 2009
  • Hi Jon,

    Testing with RB 11.04, I am able to recreate condition B, but not C. I am
    in the process of researching this further however any fixes will be limited
    to RB 11.

    --
    Regards,

    Nico Cizik
  • Hi Enrico,

    You need to set the ShiftRelativeTo property of the second and third
    subreports.

    See the subreport demos located in the \Demos\1. Reports\... directory for
    examples.

    --
    Regards,

  • Hi Jeff,

    You might consider moving "line1" to a group header that is set to reprint
    on each page. Another option to try is to set the components in "line1" to
    ReprintOnOverflow however I'm not sure this will give you the effe…
  • Hi Jeff,

    I'm a bit unclear about what you would like to happen. Do you want Line1 to
    re-print each time a page breaks? If so, you can try using the HeaderBand
    or create a group around the name field.

    --
    Rega…
  • Hi Bharathi,

    1. Try upgrading your version of ReportBuilder to 10.09 and see if that
    helps. Contact info@digital-metaphors.com for upgrade instructions.

    2. If you are still having issues, please send a simple example t…
  • Hi Bharathi,

    When posting, please first define your environment (ReportBuilder version,
    Delphi version, etc.).

    If you are using the latest version of ReportBuilder, please send a simple
    example of this behavior perh…
  • Hi Jerri,

    1. I'm unclear about what is happening here. If the subreport is visible
    and contains data, it will print. If you create an empty report and place a
    subreport inside it with the same properties set and print the re…
  • Also, you can access the Report.PrinterSetup property in RAP from the
    subreport's tab to change the printer, or use the Page Setup dialog in the
    designer. (File | Page Setup).

    Note that all of these properties are also availab…
  • Hi Jerri,

    The properties are TppSubreport.NewPrintJob and
    TppSubreport.ParentPrinterSetup as I mentioned in my previous post.

    There is no need however to use any RAP code as you can adjust these
    properties from the …
  • Hi Jerri,

    You might try placing the address info in a section subreport inside each
    existing subreport. By definition, the section subreport will take its own
    page and can be configured to use its own printer settings. Set N…
  • Hi Jerri,

    Are your datasets linked? If so, you should simply be able to place the
    address information inside the subreports. Even though the subreport is not
    connected to that datapipeline, it will access the current data. …
  • Hi Jerri,

    The title band will only print once for a report. Try creating a group
    based on the master data and place the address information inside the group
    header. This way each time the address changes, a new group header …
  • Hi Jerri,

    I'm going to need more information about how your report is designed. Is
    your subreport connected to the detail dataset? Where is the label
    information located inside the report? Which components are you using?
  • Hi Mike,

    Subreport order is controlled by the z-order. You can see the current
    z-order of a report/band by using the Report Tree (View | Toolbars | Report
    Tree) in the designer. Adjust the z-order using the
    SendToBack/…
  • Hi Fabio,

    Take a look at the following simple example. It shows how to create dynamic
    horizontal columns based on the record count.

    http:/…
  • Hi Fábio,

    If you are designing reports, you can use the Report Wizard to automatically
    create columns based on the number of fields in your database. Select File
    | New... from the main menu.

    From your example below…
  • Hi Stefano,

    Take a look at the following article on creating a unique caption for each
    copy of a report printed.

  • Hi Juergen,

    This is not necessarily a ReportBuilder issue however I will step through
    your code with you.

    The problem is your "for" loop logic. Since you are stepping through every
    subreport for each record based o…
  • Hi Juergen,

    What would you like to happen if the 'ZYKLUS' field returns the same record?
    You could easily skip that record by placing a condition after you retrieve
    the subreport object to be sure the "report" is not the same …
  • Hi Landon,

    ReportBuilder 9 does not support exporting subreport text to file. This
    feature was added for ReportBuilder 11.

    I suggest downloading a trial copy of RB 11.04 and seeing if that works for
    your case.
  • Hi Jerry,

    The simplest way would be to save the report template to file or stream then
    load it using the Report.LoadFromFile or Report.LoadFromStream routines.

    1. Create a Section subreport inside the main report (which …
  • Hi Jerry,

    The easiest way to merge multiple reports is to load them as templates into
    a main report containing section style subreports for each individual
    report. This can be done manually on the fly if needed.

    an…