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

nardmoseley

About

Username
nardmoseley
Joined
Visits
7,959
Last Active
Roles
Administrator

Comments

  • ----------------------------------------------
    Tech Tip: Working with Report Templates
    ----------------------------------------------

    Whenever you save a template to an .rtm file, all of the published
    properties of the Repo…

  • Using RB 10, the following will work...

    uses
    ppDesignToolActions,
    ppDesignLayoutManager;

    var
    lLayoutManager: TppDesignLayoutManager;
    lToolActionManager: TppDesignToolActionManager;
    lForm…

  • I tried a simple test here. I used a TppVariable and implemented the
    OnGetText event...

    Text := 'Page ' + IntToStr(Report.AbsolutePageNo + 1);


    I hard coded a 1, so that the page numbering started with Page 2…

  • I looked at the TB/TBX source but do not see a way to do that. The
    architecture is such that each tool Item, such as a button, has an
    associated ItemView and ItemViewer class. This provides a model view
    controller type of arc…

  • for your application...

    - compile Brazilian Portuguese .res into the application.
    - set Report.Language to lgPortugueseBrazil. You can programmatically use
    the Report.Template.OnLoadEnd event to set this property at run-t…

  • The ppUtils unit contains classes and functions that are used throughout
    ReportBuilder. The TppResourceManager is one such class. There is no way to
    remove it.

    I don't understand what you are trying to accomplish. If the…

  • If the language modules are installed, then yes they will be used. Check out
    the TppResourceManager class defined in ppUtils.pas.

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

  • Take the .res files that generated for Brazilian Portuguese and copy them to
    RBuilder\Lib. Then when you build your application, those resources will be
    included as the default language and you will not need to distribute any

  • Rather than a descendent of TppReport, I would create something a like a
    TmyLayoutBuilder class that given a report and a dataset, can build a report
    layout. Or, if you assign the Report.Datapipeline prior to calling it, then

  • I recommend linking the pipelines per my prior post. :)

    When datapipelines are linked, the detaildatapipelin…

  • The issue is caused by the master query selecting a different date range of
    records than the detail query's in 1 and 3.

    What is happening is that when query's are linked in the RB Data workspace,
    special linking SQL is g…

  • For future reference, please post RAP questions to the RAP newsgroup. :)

    -----------------------------------…

  • Yes. That error indicates the application cannot get a handle to a valid
    device context. For screen preview, the screen device context is used and
    for print, the printer device context. If the app can preview and print at
    sta…

  • - Could be caused by the app leaking resource. Try using a tool such as
    FastMM or AQTime that can check for leaks.

    - If the app is running under something like Citrix, then might be that it
    is losing connection to a wind…

  • What version of ReportBuilder are you using? If you are not using RB 10.07,
    try downloading a trial version and perform the same test.

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • I just tried a test here using RB 10.07, the latest release, and it worked
    correctly.

    I have the data tree configured for the tabular style layout. I select some
    fields and drag them to the layout. I position the mouse just ab…
  • Set Report.SaveAsTemplate to True.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

  • Use TwwRichEdit to edit the rtf data and then assign the rtf data to the
    TppRichText component.

    The RB InfoPower support enables RB to use the formatting capabilities of
    InfoPower's TwwRichEdit when /rendering/ RTF data,…
  • RB InfoPower RichEdit Support
    ---------------------------------
    ReportBuilder includes a component that enables the TppRichText and
    TppDBRichText controls in ReportBuilder to use the formatting capabilities
    of InfoPower's TwwRi…

  • For future reference, please specify environment info such as RB version,
    Delphi version, Windows version etc. Please configure your newsreader to
    display your name.

    This is not a known issue.

    My guess is that…

  • Check the user account permissions for the printers and the access rights
    for the user account under which the RB app is running.

    RB uses the Windows API function EnumPrinters function to get the list of
    installed printe…

  • Are you including ppWWRichEd in the 'uses' clause of your app?


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

  • Try separate tests using TppRichText.LoadFromFile, LoadFromRTFStream,
    RichTextStrings and setting the TppRichText.RichText property (which is of
    type string). Those all should work.



    --
    Nard Moseley


  • ----------------------------------------------
    Article: ReportBuilder's RichText architecture
    ----------------------------------------------

    The RichText in ReportBuilder is a wrapper around Delphi's TRichEdit which …

  • Try this...

    ---------------------------------------------------------------
    Tech Tip: How to Programmatically Load Reports that were Saved
    using the Report Explorer
    ----------------------------------------…

  • What version of RB are you using? Check the Help | About box of the report
    designer.

    If you are not using RB 10.07, then try updating. I think we modified the
    timing of when RBuilder.ini is first accessed, I do not recal…

  • ----------------------------------------------------
    Tech Tip: RBuilder Ini Storage
    ----------------------------------------------------

    For an end-user reporting application, use the TppDesigner IniStorageType
    and

  • The TppRichText creates a TRichEdit to use internally, but it is not exposed
    via a property. You could try using the TppRichText.Components[ ] array to
    gain access to it (TppRichText is the Owner of the TRichEdit).



  • Thanks for the feedback. Another customer recently reported the issue with
    the Variable Timing dialog not drawing correctly - this has been updated to
    use group boxes for the next release. In earlier versions we used Bevels and

  • For others reading this thread, an example project was submitted to
    support@digital-metaphors.com. The issue was improper implementation of
    JITPipeline event-handler. Proper implementation is covered in the
    Developers Guide t…