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

nicocizik

About

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

Comments

  • Teknik,

    The easiest way to combine two data fields is to add them to a single
    TppVariable on your report. The code will look something like the
    following...

    procedure TForm1.ppVariable1Calc(Sender: TObject; var Value…
  • Conrad,

    What you are trying to do sounds very interesting but I'm afraid I need a
    little more information to understand the exact issue you are having. You
    should be able to save your report to file, using ReportBuilder, and th…
  • Marco,

    Your best bet would be to create a group, based on a static label, around
    the detail band and place all your current summary band contents into the
    group footer. Now you will essentially have two summary bands (i.e. the<…
  • Marco,

    Try using a summary band (report | summary... menu option) for your invoice
    total. The summary band will always print at the end of the report. If
    this is not what you are looking for, try creating a group based on a st…
  • Mike,

    Instead of using a TppLabel, try using a TppVariable set to type String.
    Then you are able to use the TppVariable.OnCalc event to update its value
    and the value of the memo in the summary. Then set the
    TStringList(Tp…
  • Mike,

    The blank page being produced is the new page created by the section style
    subreport. You should place the region inside the subreport at the position
    you would like the information to show up on the new page created by t…
  • Mike,

    Try dropping a Section style subreport in the group footer and place the
    region in there. This will automatically break to the next page before
    printing the subreport.

    --
  • Sham,

    The reason you are not finding the last label using the ObjectByName method
    is probably due to a naming conflict. For this (among others) reason, we
    always recomend using a report object loop to find components in a repor…
  • Dominique,

    You will not be able to use any ReportBuilder add-on components if you do
    not have Delphi and a full version of ReportBuilder (i.e. you're an
    end-user). Try contacting the software vendor that sold you the applicatio…
  • Dominique,

    Lines can be drawn vertically by setting the TppLine.Position property to
    lpLeft or lpRight. If you would like to rotate text, there is the
    RotatedText add-on component available from our website
    ( in No Rotation feature for labels, Memo and DB objects Comment by nicocizik May 2003
  • Chong,

    When designing a report, you can save the template by selecting the file |
    save menu option. This will save the .rtm file to a location on your hard
    drive. Then you may clear out the report object on your Delphi form an…
  • Tom,

    I would recommend trying a Master-Detail-Detail style report. Your master
    dataset should hold the part types. The first detail dataset should have
    the parts required for each type, and the second detail dataset should
  • David,

    Thanks for the suggestion. Currently the /tips/ directory has been used to
    give individual support to users of the newsgroup and e-mail support. These
    examples are not fully documented or not documented at all. It is o…
  • Tyrone,

    It sounds as though you may have a corrupt installation. Try following the
    instructions below and re-installing the latest version of ReportBuilder
    7.02 Build 2.

    --------------------------------------------
  • Andre,

    You can use a report object loop to change every component to a specific
    font. Below is an example of how you might do this. This tech-tip along
    with many others can also be found in our Tech-Tips newsgroup
    (digita…
  • Stacey,

    The article below explains which files you need to include in your 'uses'
    clause for all dade components to work correctly. Also, be sure to check
    your database settings and see if your connection properties are configu…
  • Jack,

    Here is a good example of how to create a complete report in code.

    http://www.digital-metaphors.com/tips/DynamicReportCreation.zip
  • Janusz,

    We have no know issues like this one with the crosstab component.

    - Make sure your customer is using the latest printer driver for their
    printer.

    - Ask your customer to try your application on another co…
  • Janusz,

    Which version of ReportBuilder are you using? Make sure that your customer
    is using the latest printer driver for the printer they are using. Also
    make sure the user is not changing the font inside of the crosstab
  • William,

    You can adjust the page margin by selecting the File | Page Setup menu
    option in the Report Designer window. From here select the "margins' tab
    and adjust the margin width as you need.

    --
  • Russell,

    The TppPreview object gets notified in the TppViewer's DoOnPageChange
    trigger, so this is a good approach to take in your case.

    --
  • Moothy,

    Try creating two identical variables (one in each column) and align them to
    their corresponding variable. Then you can toggle the visibility of each
    variable based on the value of the above two variables.

    -- …
  • Christophe,

    It is possible to use the label wizard without the ppDesigner. Below is a
    link to an example that shows how to do this.

    in label wizard dialog box during execution Comment by nicocizik May 2003
  • Phil,

    I am having a little trouble understanding what you would like your report
    to look like. Would you like each income range in it's own column? Please
    provide a little more information (i.e. a picture or sample report temp…
  • Skot,

    Sorry, I didn't understand exactly what you were after the first time. You
    are going to want to add the following lines to the Report.PrintDialogCreate
    event to get the results you need. You can leave the default devicet…
  • Skot,

    You can set the file format you need using the Report.DeviceType property.
    If you are using TExtraDev to print in PDF, I believe you want to set your
    device to 'PDFFile'. Be sure to set the Report.AllowPrintToFile propert…
  • Sanford,

    The article below gives the full feature list of ReportBuilder along with
    some reasons to use our product. Also, some time ago (as a training
    exercise to learn Delphi and ReportBuilder) I made a small application that<…
  • Mike,

    You are going to want to make duplicate calculations for each variable in
    different groups inside the OnCalc event of the Detail variable. Then you
    need to set the reset for each of the group variables to GroupEnd. This<…
  • Mike,

    Create a variable in the group footer and update the value of that variable
    in the OnCalc event of the variable in hte detail section. Something like
    this...

    procedure Variable1Calc(Sender: TObject; Value: Vari…
  • Neil,

    It looks as though you can solve this problem by placing 3 regions around
    each set of shapes and memos (side by side). For example region 1 will have
    11 and 21, region 2: 12 and 22, and region 3: 13 and 23. Then by setti…