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

LinkDADEPipetoJITPipe

edited July 2005 in DADE
Nard:
In trying to understand how to extend dataviews in DADE [not having much
success], I noted that an old thread had some examples

The following examples should get you on the right track. Hope they help.

http://www.digital-metaphors.com/tips/LinkDADEPipeToStandardPipe.zip

http://www.digital-metaphors.com/tips/LinkStandardPipeToDADEPipe.zip


However, I cannot access these files, nor the tips directory on the DM
website.

At this point [time constraint] I am thinking that if I can link my JIT
Detail pipe to the DADE Master pipe then all the fiedls in the JIT pipe will
be exposed.

Trying to encapsulate the the Master/Detail pipes inside a
class(TdaADOQueryDataView) is not working so well for me. The Dataview is
not showing up in the DADE.

I am creating the TADOTable, TdataSource, TppDBPipeline.

However, the TADOTable.Connection cannot be assigned, since the
TADOConnection object I have is not in scope . So, it is not clear how to
assign the Connection

Comments

  • edited July 2005

    1. If I click on those links, I can download the files. (We have security
    that prevents browsing of the tips directory).

    2. You can link a DADE pipeline to an external pipeline, however only the
    Dade query dataview will appear in the Data workspace.

    3. The Data tree in the Report Designer can show external datapipelines that
    appear on the same form or a datamodule. Try making the Owner of the
    JITPipeline the same owner as the Report.Owner.





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



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited July 2005
    Nard;
    1. I downloaded the files. Was some kind of Browser security.

    2. It remains a mystery as to why I cannot get my JITpipeline to show up in
    the
    DataModule. {steep curve]. I am wrapping it up in a TdaCustomDataView
    descendant.
    The daRegisterDataView (TdvRetData); is being called, bu tthe class does
    not show up in the DADE->New

    3. The internals of the TdvRetData = class (TdaCustomDataView) are simply
    the JIT pipeline, which is created, and all the overrides are implemented
    class function ClassDescription: String; override;

    procedure CreateDataPipelines; override;
    procedure CreatePipelineFields(aDataPipeline: TppDataPipeline);
    override;

    procedure ConnectPipelinesToData; override;
    procedure ConnectReportToPipelines;override;

    The JITPipeline has not datasource or table.

    Phil
  • edited July 2005

    Any dataview template classes that you create, need to override the
    IsTemplate class function and return True. That might be one reason why they
    do not show up. See TdaADOTemplateDataView in daADOTemplateDataView.pas in
    the example that is available for download (see my post to your question
    about ADO custom dataview examples).




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


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.