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

nardmoseley

About

Username
nardmoseley
Joined
Visits
8,288
Last Active
Roles
Administrator

Comments


  • This is a feature that we can consider adding to a future release.

    One technique is to set the zoom setting to WholePage so that the entire
    page is visible. And then zoom in on highlighted areas.



    --

  • ReportBuilder requires an additional registeration:


    RegisterComponents('RBuilder', [TppReport]);

    RegisterComponentEditor(TppReport, TppReportComponentEditor);

    ppRegisterComponentDesigner(TppDesignerW…

  • A component editor must be registered for the component. For an example,
    check out the code in ppRegPro.pas.




    --
    Nard Moseley
    Digital Metaphors Corporation
    in After Registering "No Editor Registered For this Component" Comment by nardmoseley October 2005

  • Position the mouse over the DataView and press ctrl + left mouse button -
    this will display the SQL statement. Examine the SQL statement and report
    the SQL statement and error to Advantage tech support.

    The Designer.Data…
  • ----------------------------------------------
    Tech Tip: Working with Report Templates
    ----------------------------------------------

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

  • I looked at the source code and yes you can add that line. Its not a memory
    leak, but it is more correct to set the reference to nil. (We can add that
    code to our code base for the next release.)

    As a side note, the fo…

  • Yes, you need to re-install. The installation enables you to select which
    languages to install.

    Waler and TeeChart will not be affected, unless they are installed in the
    RBuilder\ folder structure.


    --

  • Please modify your newsreader to post with your name. TIA






  • 1. Create a TdaModule for the report

    var
    lDataModule: TdaDataModule;
    begin

    lDataModule := daGetDataModule(ppReport1);

    if lDataModule = nil then
    lDataModule := TdaDataModule.…

  • For reports stored in rtm files or database - you can use the
    Report.Template.OnLoadEnd event to initialize report properties for old
    reports and the Report.Template.OnNew event to initialize properties for
    newly created repo…

  • The event-handler method needs a to be a method of the same class in which
    you are creating the report.

    TmyForm = class(TForm)
    private
    FReport: TppReport;

    procedure MyDetailBeforePrint(Sender: TObject…

  • You can assign Delphi event-handlers programmatically


    1. Add the event-handler method to your form class

    procedure TForm1.myDetailBeforePrint(Sender: TObject);
    begin

    end;

    2. Create the rep…

  • Here is an downloadable example that shows how to use the Label Wizard
    outside of the context of the Report Designer

    www.digital-metaphors.com/tips/LaunchLabelWizardInCode.zip





  • The meta data cache is an in memory cache of the available database tables
    and fields. This is done to speed performance.

    When a new report is created, the Designer.DataSettings are used to define
    the database conn…

  • I do not understand the report configuration.

    1. Data configuration

    Let's start with the datasets. There are three datasets or two?

    master dataset
    detail1 dataset
    detail2 dataset



  • The toolbars are not created until the window is first shown. Try using the
    Designer.OnActivate event..

    Example

    var
    lDesignerWindow: TppDesignerWindow;
    lToolbar: TppToolbar;
    begin

    if …

  • ReportBuilder 9 includes adds a new TdaSQLBuilder class that can be used to
    modify the SQL associated with a datapipeline. There is a new
    Report.BeforeOpenDataPipelines event that can be used to modify the SQL
    prior to the datap…

  • Not sure I understand the question. If you want to create ask at run-time
    parameters, see the following article. If that does not help, post more
    details here about what you are trying to accomplish.

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

  • If you are using RB 9.03, then you can check the DataPipeline.SQL property
    to determine whether is is nil.

    if (myreport.DataPipeline <> nil) and (myReport.DataPipeline.SQL <> nil)
    then
    showMessage('Has…

  • 1. DADE overview

    When DADE is used, the Report has an associated TdaDataModule that contains
    one or more TdaQueryDataViews. A QueryDataview typically contains the TdaSQL
    object, DBPipeline, and DataSet.

    TppRep…

  • 1. Add ppCtDsgn to the uses clause of your end-user application

    2. Use the Data workspace to create a query dataview for the report

    3. Add a TppDPTeeChart to the report. Position the mouse over the chart and
    press t…

  • Make sure you are using TppDPTeeChart and not TppDBTeeChart. The DPTeeChart
    enables series to connect to a datapipeline.

    The DBTeeChart is retained for backward compabitily only. Do not use it.

    The hints for each co…

  • 1. As a simple test, run RBuilder\Demos\EndUser\ReportExplorer

    2. If you are using a Custom ReportExplorer form, then you might need to
    update the code for the print and preview calls. You can compare to the
    ppExpFrm.pas…

  • You can use the TppReportExplorer.ItemAction property to control this. The
    following is from the RBuilder.hlp file....

    Declaration
    ------------

    property ItemAction: TppItemActionType;

    Description

  • Update to RB 9...

    1. Use the new Report.OnInitializeParameters event to programmatically
    create AutoSearchFields.
    2. Use the new Report.BeforeOpenDataPipeline or the
    Report.OnGetAutoSearchFieldValue event to apply t…

  • The format toolbar displays the font for the Default_Charset.

    One option is to use the object inspector. (RB 9 has a run-time object
    inspector).

    The other option would be to modify the TppFontList.CreateList method …

  • You can use TppDesigner.Menu to access the menu items. When the Calc tab is
    active, TppDesigner.Menu will return the Menu that is used by the calc
    workspace.





  • Conceptually, a datapipeline (JITPipeline, DBPipeline, etc.) contains data
    fields that can be bound to data-aware controls. The data-aware controls
    read the contents of the datafield: String, Integer, etc. and perform
    formatt…

  • Please see the JITPipeline tutorial in the ReportBuilder Developers Guide
    and the JITPipeline demos included with the RBuilder\Demos\Reports\Demo.dpr
    project.

    You need to define three fields for the JITPipeline: ReportNa…