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

digitalmetaphors

About

Username
digitalmetaphors
Joined
Visits
51
Last Active
Roles
Administrator

Comments

  • It stretches in tests here using the BeforePrint event. Are you using the
    RichText.LoadFromFile method?


    Cheers,

    Jim Bennett
    Digital Metaphors

  • You could create a single section style subreport for each label. Each
    subreport can be configured to be sent as a separate print job by setting
    the NewPrintJob property on the subreport to true. Then that would give
    you a one page…
  • If you have replaced the preview form, you should see the changes everytime
    the preview is shown. Here is an example of a custom preview form which
    works even if the user previews at the end of the report wizard:

    in Adding a button to printpreview? Comment by digitalmetaphors June 2002
  • This setting is still there on the Datasettings property of the Designer? Is
    this what you mean?


    Cheers,

    Jim Bennett
    Digital Metaphors

  • Yes, there are probably two bpls with this name on your machine, and each is
    a different version. Follow the corrupt installation cleanup procedure to
    make sure you don't have any other duplicate ReportBuilder files on your
    machine.<…
  • You can also temporarily disconnect the data dictionary to simplify the
    problems to solve in your configuration.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • Yes. 6.03 is the latest version.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • We had to deal with the Object Tree View in D6, so we had to hide a lot of
    the child objects from being visible. It would allow you to set properties
    on objects which were never intended to be set outside of internal RB
    classes, such…
  • We fixed this for Delphi 6 support:) You'll need RB 6.0 and later.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • You can create the group value as a calculated field on the dataset and use
    the dataset's OnCalcFields event to change the value. You can also code the
    OnGetBreakValue in code to cause a group to break:

    -----------------------…
  • Create a group around the detail band, based on the detail band key value.
    Set the group to start on a new page from the Groups dialog. Press Ctrl-G
    to show the dialog.


    Cheers,

    Jim Bennett
    Digital Metaphor…
  • Are you using subreports? If you know which pages are to be sent to which
    customer, you can generate the pages to cache, and then send the pages
    directly to a device. You'll have to set the TppPage.AbsolutePageCount
    property to refle…
  • You can use one of the third party devices to generate a PDF. Pragnaan
    devices has the ability to email a report.

    You could also generate the report to PDF or another file format. Once the
    report generates a file, you can then…
  • If you data is configured in a master-detail relationship, then for every
    building record, you should have one floor record- correct? Try placing the
    floor subreport at the bottom of the detailband of the building subreport.
    Do you …
  • You should probably place the two subreports by each other in the same band
    of the parent report. Set the second subreport to shift relative to the
    first subreport. This way they will each print once and the first one will
    print bef…
  • We've tested this here and it is working fine on our machines. We'll run it
    on a slower performance machine to see if there is any further optimizations
    we can add.


    Cheers,

    Jim Bennett
    Digital Metaphors
  • You can generate the entire report and cache the pages so the report doesn't
    generate the pages as you preview them.

    For a OnePass report, try this:

    ...
    uses
    ppTypes, ppViewr, ppDevice;

    procedure TFo…
  • There is a Footerband PrintOnLastPage and PrintOnFirstPage boolean
    properties in case this is what you are looking for. If not, you need to
    check AbsolutePageCount and AbsolutePageNo on the report. The
    AbsolutePageCount will only b…
  • Be aware, for NT/2000, the printer names are returned different than Win 9X
    for the same printer. We haven't researched printing to a queue with API
    calls, but it may be possible. We're pretty confident that you need a
    printer drive…
  • ------------------------------------------------------------------------
    TECH TIP: Performing Calculations
    ------------------------------------------------------------------------

    Calculations can be done either on the data acc…
  • Yes, you can use a TppVariable component to do the text measuring and insert
    them. Here is a demo which calculates this for the printer:

    http://www.digi…
  • Have you added ppJPEG to your uses clause?

    You should not try to assign the JPEG to a TppDBImage, but rather use a
    TppImage.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • I see, you just need to add a draw command (TppDrawText) to the TppPage
    object in the Report.OnEndPage event in order to draw some text. The best
    approach to do this is:
    in Changing the printer setup between printed pages ? Comment by digitalmetaphors June 2002
  • You need to set the PrinterSetup object on the TppPage objects. Here is an
    example:

    --------------------------------------------
    Tech Tip: Selecting Paper Bins for Each Page
    --------------------------------------------
  • Try setting DetailBand.BandsPerRecord to two in order to force the detail
    band to print twice. You'll have to resize the detail band to occupy half
    the available page (taking into account the other band heights).


    Cheers,<…
  • Increase the detail band height to occupy much of the page. The top of the
    detail band should contain the data aware controls to print the top record,
    and the bottom of the same detail band should contain a duplicate of these
    control…
  • Try increasing the margins on the report. It may be caused by the fact that
    the user's printer has a larger unprintable area around the page (margins).
    RB asks the pritner driver for the area available in which to print. It
    might be…
  • I just installed Firebird 1.0 and tested this with the value you mentioned
    as well as a number of different values but have not been able to reproduce
    the behavior. Check you Firebird installation. Then try recreating the table
    contai…
  • RB simply grabs values out of the pipeline field when the report is
    traversed. The problem seems to be happening at the actual calculationm, in
    OnCalcFields. Try debugging the calculation to see if a valid value is
    actually being put …
  • There is a list of packages and what they are for in the help file. Please
    see the Installation section in the table of contents of the ReportBuilder
    help file.


    Cheers,

    Jim Bennett
    Digital Metaphors
    <…