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

  • First make sure you have the latest printer drivers and the latest SP for
    NT. Otherwise, is there anything in particular you can think of which
    clearly differentiates this machine from the other 300 machines?

    --
    Cheers,
  • Here is an example that will give you an idea of how to accomplish this. It
    starts with a landscape report. When requested to rotate two section
    subreports are dynamically created (to allow two separate pages). Then all
    the objects ar…
  • There is no native support for this in RB. However, especially in a simple
    case like this you can use richtext instead of a memo and translate the HTML
    into RichText. In fact, here's an example I put together that does exactly
    that. I…
  • Here is the way to create the TppPrintPreview and have the print button
    work:

    uses
    ppPrvDlg;

    procedure TForm1.Button1Click(Sender: TObject);
    var
    lPreview: TppPrintPreview;
    begin

    lPrevie…
  • The following article describes the use of the TppVariable component for
    calculations:

    ------------------------------------------------------------------------
    TECH TIP: Performing Calculations
    ----------------------------…
  • Can you describe what an invoice is exactly? Is it a group of details, a
    subreport, a single detail record? There are different approaches to solve
    this problem depending on how this invoice is constructed.


    Cheers,
    <…
  • > > - Aggregation (+what aggregation features are available?)

    Sorry, missed this one. I assume you are referring to aggregate functions on
    the data? This could be accomplished with the end user dataview designer,
    DADE, whi…
  • Most, if not all, of the below are either directly or indirectly supported.
    RB is 100% Object Pascal which means you have access to most of the source.
    That means that if something isn't directly supported, the likelyhood is
    that it c…
  • When using TeeChart and ReportBuilder in Delphi you will encounter this
    error message upon compiling.

    In order to get around it you can:

    1. Build your project with packages.

    2. Purchase TeeChart Pro from
  • Please see ReportBuilder Reference->TeeChart in RBuilder help for a listing
    of TeeChart version support. Specifically, in D5, TeeChart 4.02, 5.01, and
    5.02a are fully supported under RB 6.03.

    --
    Cheers,

    Alexan…
  • You can store the name of the database as well as the parameters with each
    template. That way, when you load the template you can access that data and
    know which database to connect to and which parameters to pass to the
    database obje…
  • You can use the calc components to calulate the values. You can place these
    components in any band and they will calculate based on the traversal of the
    pipeline. You can set the LookAhead property of the Variable or DBCalc
    componen…
  • It works because when the preview is to be created, it pulls the plugin from
    a registration scheme. Look in the TppPrintPreview.FormCreate and in the
    TppDesignerWindow.Create (ppPrvDlg.pas and ppDsgner.pas) methods and you'll
    find:
  • To make the preview plugin work, you need to simply register any
    TppCustomPreview descendent. It will be used in all of your reports as long
    as it is registered. You can use the default by unregistering yours and
    registering the def…
  • Set SkipWhenNoRecords to true on the grand-child detail pipeline.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • One thing to check is the actual SQL which is generated by Control-Clicking
    on the dataview to check the actual SQL which will be submitted. It is
    possible that an invalid SQL statement is being generated which is not
    retrieving any r…
  • I set up the project you described using Midas and was able to successfully
    run a master detail report with search criteria. First I want to make sure
    you are describing your setup correctly. Also I'm a little confused on
    whether you …
  • Place a Try..Except around the call to LoadFromFile in case the template
    fails to load. Then you don't want to save the template to the database if
    it raises an ETemplateLoadError exception.

    BTW- You do not have to set the SaveT…
  • Do the numeric fields simply not display any data, i.e. the field name is
    blank? Or are they never actually encountered when traversing Fields in your
    loop? This might have something to do with the calculation of the FieldWidth
    (i.e. …
  • This is a multi-part message in MIME format.
  • One option is to load the templates and iterate through all the objects and
    change the field names. For example:

    for liBands := 0 to ppReport.BandCount - 1 do
    for liObjects := 0 to ppReport.Bands[liBands].ObjectCount - 1 do
  • The first step is to make sure you have the latest printer driver installed.
    Which printer are you using? We can download the latest driver and test it
    here.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • Please do not crosspost. You can pick any of the newsgroups and you should
    get a response. Post only in general if you aren't sure about which
    newsgroup you should post to.

    Cheers,

    Jim Bennett
    Digital Metaphors…
  • ReportBuilder should show all installed fonts for the machine. The first
    thing to check is to see if this font is installed? You should check the
    Control Panel | Fonts to see if it is, though if you can see it from Word
    then it must …
  • Most printers do not support transparency very well, if at all. Install the
    latest pritner driver available and try toggling DirectDraw to true on the
    TppImage component.


    Cheers,

    Jim Bennett
    Digital Metaph…
  • WMFs do not store alpha values so it is not possible to do true
    transparency. The way PowerPoint handles this, I think, is it uses the first
    pixel in the array as the transparent color, in this case white. It then
    creates a mask (in t…
  • Sure, send it to support@digital-metaphors.com and I'll be happy to try it
    out.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • In general, WMFs do not support transparency. Use Bitmaps instead.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • RAP is only available in RB Enterprise. You can implement an event handler
    in Delphi which will accomplish this. You could potentially event get away
    with one event hadler for all the component by implementing the OnPrint
    event which …
  • You have RB Professional, RAP is only included in the Enterprise version.
    You could create a custom data aware component which does this and use it to
    create your reports for the numeric fields coming through the data pipeline.
    You ca…