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

dynamic pipelines with DADE ???

edited May 2004 in DADE
Hello,

I do a program which can create reports dynamically with the TppReport
component.

I can have several sorts of reports, so the number of the pipelines can
change. So, I create the pipelines dynamically. But I have some problems to
load the data when I load the reports with the TppReportTemplate.

I think DADE component are perhaps a good answer to my problem. But I've
never used these components.

So, anybody can tell me if I can use these components for my problem ? If
yes, which components and how can I do that ?

Thanks ! Alex

Comments

  • edited May 2004

    Yes, using DADE will solve your issues. When using DADE, the data definition
    is saved with the report definition.

    DADE adds a Data tab to the Report Designer. From the Data workspace you use
    the Query Wizard and Query Designer to build SQL DataViews. You can visually
    link dataviews to create master/detail relationships and you can easily
    specify ask at runtime search criteria (called AutoSearch).

    A SQL DataView is a container for the DataSet, TDataSource, DBPipeline that
    is required for database access.

    Download a trial version of ReportBuilder Enterprise and run the
    RBuilder\Demos\EndUser\Report Explorer example.

    ReportBuilder Enterprise also includes RAP, which adds a Calc tab to the
    Report Designer. The Calc workspace enables calculations and event-handlers
    to be coded using a run-time Pascal environment. This enables the code to be
    saved as part of the report definition. For an example, see
    RBuilder\Demos\RAP.

    Using DADE and RAP enables the report definitions to contain Data Access +
    Code + Layout information = more portable report templates.


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


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited May 2004
    So, I create now dynmically a DataView and a pipeline connected on the
    DataView.

    When I create and savge my report, it has no problem. But when I reload
    them, I have the following error : EComponentError - "The component
    'plTestppField1' already exists".

    I don't why I receive this error message. Anybody can localize my problem
    and help me ???

  • edited May 2004

    When you load the report, there cannot be any other components already
    existing that have the same name.

    If you would like to create a simple, minimal example project that
    demonstrates what you are trying to accomplish, you can send in email in zip
    format to support@digital-metaphors.com and we can check it out here. Please
    use only standard Delphi components and ReportBuilder.

    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited June 2004
    I have sent a small sample project to illustrate my error to
    support@digital-metaphors.com

    Thanks for help !

This discussion has been closed.