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

nicocizik

About

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

Comments

  • Hi Mike,

    Instead of waiting for the AfterPrint event to set the detail band's
    visibility back to True, just toggle the visibility inside the BeforePrint.
    Something like...

    if Report.DataPipeline['Worthless'] then
  • Hi Mangus,

    I do not believe there is a way to do this directly from ReportBuilder.
    After a quick search on Google, I found that you may be able to check the
    print job status using the EnumJobs Windows API array. This array cont…
  • Hi Rob,

    Adsd70.dpk is located in my C:\ADS\TDataSet\Delphi7\... directory on my
    machine. The "d70" of the file refers to Advantage for Delphi 7.

    Likewise, the "77" in rbAds77.dpk stands for ReportBuilder 7 for Delphi 7.
  • Hi Rob,

    If you are trying to compile rbAds77.dpk, you should not need Adsd60.dpk.
    Open the rbAds77.dpk file and be sure Adsd70.dpk is located in the requires
    clause. This file should have been installed in your ADS directory so…
  • Hi Neil,

    It is better to use a Report Object loop to find a given component in a
    report. Then when you run across a TppSubreport, you can loop through that
    report (recursively) and make the changes you need. Something like the…
  • Hi Neil,


    This is correct. The "absolute" position of each report component is not
    calculated until the report is generated. The main reason for this is that
    most reports contain dynamically placed components. If you are…
  • Hi Neil,

    1. See my answer to your earlier post for the method to do this.

    2. You can change the Subreport to a Fixed Style Subreport. Then as long
    as you have the Subreport.TraverseAllData set to False, your data will
  • Hi Jay,

    You could create the invoice in the main report, then place a Section Style
    Subreport below that, separated into two columns to print the commission
    information. Section Style Subreports will by default start on a new p…
  • Hi Jay,

    How exactly would you like your report to look differently page to page?
    The only way to perhaps get an effect like this using Regions would be to
    toggle the visibility of two separate regions based on the page number.
  • Hi Tung,

    The source code for RAP is not included in ReportBuilder. You are receiving
    this error because the "interface" section of one of the ReportBuilder
    source files or one of your Delphi source files has been changed. Be s…

  • ReportBuilder is currently available for the Windows platform only.

    There is currently not enough market demand for a Linux solution to justify
    the development and support costs. Thought it may change in the future,
    Borlan…
  • Hi Alan,

    You need to set the SubReport.ParentWidth property to False. Once this is
    done, you can adjust the width of the Subreport manually or by using the
    "Width" property (all published properties). Check out demo 73 (dm0073…
  • Hi Alan,

    Check out Demo 112 (dm0112.pas) located in the \RBuilder\Demos\1.
    Reports\... directory. This example shows how to create a report based on
    the multi-selection of a dbgrid.

    --
  • Hi Jonas,

    Without the use of RAP, keeping the event handlers referenced to multiple
    templates will be very difficult. I posted a couple articles below that may
    be of some use to you. The easiest way around this problem without…
  • Hi Jonas,

    The easiest way to do this would be to use RAP. RAP allows you to write
    event code that is saved local to the template. Then inside the
    DetailBand.BeforePrint event you could toggle the visibility of the detail
  • Hi Frederic,

    This is not a known issue. We have had numerous customers perform the
    Delphi 7 update who are able to use ReportBuilder 7.03 successfully. In the
    Delphi 7 upgrade, Borland did not alter any of the Interface sectio…
  • Hi Joe,

    Unfortunately this is not a known issue with ReportBuilder. My suggestion
    would be to back up any report tempaltes you are using and download a trial
    version of ReportBuilder 7.03 to test with. If this does not help, y…
  • Hi Joe,

    Which version of ReportBuilder/Delphi are you using? At what time during
    your application are the errors occuring (i.e. during report generation,
    printing to the printer, using the end-user designer, etc...)? You might…
  • Hi Jay,

    If you are trying to keep track of how many copies of a report have been
    printed, you can use the Report.StartPage event and see how many times the
    first page printed. An example of printing a unique caption on each cop…
  • Oops, forgot you mentioned you were using Delphi 5 in your earlier post :).
    Glad you were able to get everything working…
  • Hi Marie,

    You may be able to use the Mail Merge feature of the TppRichText component
    to get the effect you are after. I went ahead and created a small example
    for you that demonstrates what the Mail Merge feature is capable of.…
  • Hi Marie,

    Thanks for trying ReportBuilder.

    1. Check out the following example of creating a booklet style report.
    It's a bit tricky but we have had many customers use this method
    successfully. Hope it helps.
  • Hi,

    The ctrl-A (Select All) feature is available in the current release of
    ReportBuilder. Simply click in the design area and hit ctrl-A to select all
    objects in the report.

    --
  • Hi Gianantonio,

    Since the sumVar variable is located in the page footer, it's OnCalc event
    will not fire for each record in your dataset. The best way to accomplish
    this is to place another TppVariable inside the Detail band an…
  • Hi Rick,

    Thanks for the example. For future reference, please send all files to
    support@digital-metaphors.com if you would like us to look at an example.

    It looks as though the call to "Close" may be executed too soon for…
  • Hi,

    The fact that your report and form are in a package should not make a
    difference in the code executed. If you compile without packages, does your
    application work correctly?

    --
  • Hi,

    You need to be sure you are closing the form after the report has finished
    printing, and freeing all its references. The best place to do this is
    after the call to Report.Print. See the example below on how to do this.
  • Hi Eric,

    Be sure the language .dll files are located in the correct directory on your
    user's machine and that they have full access to that directory. All the
    .nld files will need to be placed in the Windows/System/... director…
  • Hi,

    Try typing the following expression instead...

    city + ' ' + state

    --
  • Hi Tom,

    It has been on our to-do list for quite some time now to organize, document,
    and support each example in the "tips" directory. It will definitely be
    something we look into once the time and resources become available.