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

  • You can create your own device to support this. Here is a simple example of
    replacing the ascii text file device with a replacement, which is based on
    the original device:

    in MemoLines into ASCII text file Comment by digitalmetaphors February 2003
  • ReportBuilder 6.03 and higher adds support for plain text memos printing to
    report emulation text file as well. Rich text is not supported in this
    device. Set the font of the memo to match that of hte text found in the
    main reports d…
  • There is no binary "drop-box" component in RB. Do you mean that you want to
    draw on a canvas and show that in the report? There is a PaintBox component
    that you would need to use to allow the use to draw in a canvas and then add
    this …
  • Send an email to support@digital-metaphors.com and we'll reply with a patch
    that will fix the problem at runtime in RB 7.01.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • Can you reproduce this problem and send us a simple sample report that we
    can test to verify the problem? Send it to support@digital-metaphors.com


    Cheers,

    Jim Bennett
    Digital Metaphors


  • Try overriding GetTheText to provide the text that should be shown by your
    descendent dbText.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • If you regenerate the report, the pagination should be able to change. I
    checked the code, and RegenerateReport does cause the reset of the
    publisher's page cache. Can you send a simple example to
    support@digital-metaphors.com that sh…
  • There are no "trigger" methods such as DoAfterPrint to override. Look at the
    ancestor preview in ppPreview.pas. You will have to check if assigned on the
    event property by name directly and call the method as it is done here:

    pr…
  • You should be able to typecase the series object as a THorizBarSeries and
    then assign the event handler in code.

    MyObject.OnSomeEvent := MyEventHandlerMethodName;


    Cheers,

    Jim Bennett
    Digital Metaphors…
  • Check the PrintPosition property of the summary band. If you are creating
    the image component at runtime, make sure that you are assigning the band
    property of the image to the summary band. Is there a ShiftRelativeTo
    setting that is …
  • Changing the calc order allows you to control the ordering of the
    calculations which depend on another. The calc order is specific to each
    band. There is no calc order which can be applied across bands. If you have
    variables in differ…
  • You can iterate and change the font to test to see if the text fits. Here
    is a demo which regenerates the report invisibly until the text can fit on a
    single page. This approach will be slow for a larger report, since ti
    regenerates …
  • Thankyou. RB 7 already includes BackWall and LeftWall. We can look into
    adding the others.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • If the summary band is static height, the easiest thing to do is to set the
    summary band's PrintPosition property. If it is dynamic height, then RB
    doens't natively support it, though below you'll see how a workaround can be
    coded.
  • Ok, I didn't think of that, but yes, that is one way to handle this.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • One way to work around it other than creating a special calculated field in
    the dataset, is to create a JITPipeline to return the fields from the
    dataset. You can use the JITPipeline events to surface data from a dataset.
    This way you…
  • On the datapipeline, make sure that the TppField object (dbl-click on
    pipeline at design time to see a list of our field objects) defined for this
    datafield from your dataset has a field type set to Date. Then you can
    select the prope…
  • There is an example of creating a custom preview form using visual controls
    in the tutorials folder of the RBuilder installation. The viewer is a
    TppViewer, which will be part of the form where you can add a toolbar as
    part of the for…
  • Place all of the components in the detail band in a TppRegion component. Set
    the region component's KeepTogether property. Test to see if the components
    are parented by the region by dragging the region in the designer- the
    components…
  • Some printer drivers don't handle the printing of images from RB. We rely on
    Windows API calls to draw the images to the printer device context. Try
    testing with the latest printer driver from the manufacturer. Also, try
    testing on a …
  • RB 6.03 had a problem if you previewed a report with the default printer,
    and then changed the printer when printing the report, the report would not
    be regnerated for the new printer. This is a problem because each printer
    has a diff…
  • 1. Use two different report templates. One layout should be configured to be
    a landscape layout, and the other template configured with a portrait
    layout. Load them dynamically at runtime based on the printer setup options
    that your u…
  • You can try setting OutOfSpace to true on the detail band so that it thinks
    it can't fit on the current page. Use the DetailBand.BeforePrint event.
    Here is the code which breaks when the OrderNo = 1060 using the dbDemos
    database.
  • Do you load the template and then change the printer setup? The printer
    setup is streamed as part of the report. When are you setting the printer
    setup? You should set it before you call Report.Print and configure the
    layout so that i…
  • Please do not crosspost. This is being handled in the EndUser NG.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • That is correct, RB simply generates to the print spool. Once the report has
    generated all the pages, RB does not wait around to talk to the printer to
    see if pages actually printed or not. If you want to know whether or not a
    report …
  • Before the report prints, you can check if the Report.PrinterDevice is nil.
    If it is non nil then the report is generating to the printer. See the main
    reports demo #124 for an example.


    Cheers,

    Jim Bennett
  • The TeeChart author did not include all of the units to TeeChart in the free
    version included with Delphi. (TeeMach the authors of TeeChart do not
    receive any money from Borland for the inclusion of TeeChart with Delphi).

    When T…
  • This is a mistake. It should be the same as the Delphi 6 topic for Teechart
    4.04. It is partially operational. You will need to use Teechart 5.03 in
    Delphi 7 until Teechart 6 support is released. We will be releasing Teechart
    6 suppor…
  • The first step should be downloading the latest printer drivers for these
    printers and retesting.

    There are different Win API calls that can be made to print to a printer. No
    doubtedly, when the printer drivers are "tested" they…