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 Wouter,

    Sorry about that, when you mentioned you were using a trial version, I
    assumed you were a new user :)
  • Hi Wouter,

    Thanks for trying ReportBuilder.

    A single report object can only traverse the data from one dataset during
    report generation. If you would like to traverse the data for all three
    pipelines, you will need t…
  • Please do not cross post. This question was answered in the Devices
    newsgroup.

    --
    in Margins Comment by nicocizik July 2004
  • Hi Martha,

    In my testing Report.ActiveReport.DataPipeline seemed to return the
    datapipeline correctly. If you look in the TppReport class located in the
    ppReport.pas file, you will see that the ActiveReport property is a public…
  • Hi,

    MaxBlobSize is a property of TCustomSQLDataSet. You should be able to
    access it from your TDataSet. I'm a little unclear about what your
    application is trying to do when you receive the error. Perhaps an
    explainatio…
  • Hello,

    You may still need to adjust the MaxBlobSize property of your datasets. I
    believe if you set this property to -1, there is no maximum set. If this
    does not help, feel free to send me the template in question and I will …
  • Hi Nick,

    Which even do you have this code in? If you remove this event code, does
    the report traverse your data correctly? Be sure you have your report
    connected to the proper datapipeline to ensure your data is traversed.
  • Hi Alexandre,

    Which version of TeeChart are you using? If you are using TeeChart 4.04
    (the version included with Delphi) you are probably experiencing a
    limitation of the ReportBuilder/TeeChart capabilities at design time with<…
  • Hi Bill,

    The method you use below is probably not the safest way to go about changing
    the properties of a report component. By setting the Report.Printing
    property yourself, you may be altering some of the report engine process…
  • Hi Bill,

    It is possible to access the Printer canvas simply by including the
    ppPrintr.pas file in your uses clause, then accessing the ppPrinter.Canvas
    property. If you prefer to use screen units, you can get access to the
  • Hi Shane,

    In my testing I was able to adjust the page margins inside the
    Report.BeforePrint event successfully. Below was the code I entered into
    the event.

    procedure TForm1.ppReport1BeforePrint(Sender: TObject);
  • Hi Eugenio,

    When loading templates, there is always a possibility of loosing event
    handlers. Please see the article below on troubleshooting lost event
    handlers when using Report Templates.

    --------------------------…
  • Hi Marc,

    Sorry for the delay in this response. You will need to wait until the
    PrinterDevice is created before you can get ahold of the printer handle. I
    would suggest trying in the Report.BeforePrint event. From there you ca…
  • Hi Marc,

    ReportBuilder renders to the printer using the Delphi TCanvas class and via
    calls to Windows GDI functions.

    We do not have any direct experience with sending escape codes directly to
    the printer driver. Accor…
  • Hi Christine,

    Marc is correct. I would suggest placeing all your dbText components inside
    a TppRegion component. Then inside the DetailBand.BeforePrint, check the
    value of each record. If one of the records is empty, set the<…
  • Hi Matthew,

    Check out the following example. Hopefully this will get you on the right
    track with creating a table of contents in ReportBuilder.

    in Page number references Comment by nicocizik July 2004
  • Hi Helmut,

    I created an example and was able to capture every key stroke except for the
    arrow keys. This leaves me at a loss as the Delphi Help for the OnKeyDown
    event clearly states that it should be used for "all keystrokes" …
  • Hi Helmut,

    The TppViewer descends from TCustomPanel which in turn descends from
    TWinControl. The OnKeyDown and OnKeyPress events are protected in this
    class. You will need to create a TppViewer descendent that declares this
  • Hi Helmut,

    ReportBuilder 7.04 Build 2 offers scrolling with the mouse wheel and the
    arrow keys. Be sure you are using the latest build of RB 7.04 if you have
    this version. As far as I know the arrow keys have always worked in …
  • Hello,

    You need to be sure the ReportBuilder Data Access Environment package is
    installed into your IDE. Select the Component | Install Packages |... menu
    option from the Delphi IDE and scroll down to be sure this option is pre…
  • Hi Mike,

    The TdaSQL object takes care of streaming the database settings to the
    template. Though I have never used SDAC, I assume your plugin looks
    something like our daADO plugin. I would suggest using this as a reference
  • Hi Gerardo,

    Thanks for evaluating ReportBuilder!

    To enable the data tab you will need to check the design time package list
    in the Delphi IDE by selecting Component | Install Packages from the main
    Delphi menu and be …
  • Hi Shane,

    My suggestion would be to still use the Report.BeforePrint event but set a
    global flag inside this event so that if the event fires more than once, you
    can prevent the code from executing over again.

    --
  • Hi Shane,

    Yes, Marc is correct. If you are moving components around inside a report
    the best place to do so is before calling Report.Print. The
    Report.BeforePrint event may work as well although you must remember that if
  • Hi Shane,

    The only event in ReportBuilder that is guarenteed only to fire once per
    traversal is the TppVariable.OnCalc event. All other events can be fired
    more than once per traversal or generation depending on the specifics o…
  • Hi Carl,

    Try seting the TppField.DataPipeline property to your JITPipeline. This
    should fix the error.

    --
  • Hi Filip,

    One of the most difficult tasks in reporting is supporting every printer
    driver. For this reason ReportBuilder does not interact directly with any
    printer drivers. It uses Windows API methods to contact the driver wh…
  • Hi Filip,

    Most printers have a different printable area. If the margins you have
    defined for this report go outside of this printable area, you could
    possibly loose some of your report output. Check your specific printer to
  • Hi Kevin,

    Sorry, diagonal lines are not supported in the current version of
    ReportBuilder.

    --
  • Hi Marc,

    When are the memory datasets filled, or even opened? I assume when you open
    these datasets they are either filled or some event code is executed to fill
    them automatically. You could possibly use the TppDataPipeline.O…