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

Stange behavior when opening the report in design time

edited February 2004 in General
Hi,

I have a TppReport and two TppDBPipeline. Each Datapipeline is connected to
a AdoDataset via a Datasource.

When I invoke the designer at design time by double-clicking the Report
control and then close it, sometimes the active property of the adodataset
changes to true, sometimes for both, sometimes for only one and sometimes
not at all.

My datapipelines have both the opendatasource and closedatasource set to
true.

I don't understand what happens.

Sang-Do

Comments

  • edited February 2004
    Hi Sang-Do,

    Setting the CloseDataSource to True will only close the dataset once the
    DataPipeline has been destroyed. You can see this by simply deleting the
    DataPipeline from your main form. Your ADO dataset will now have its Active
    property set to false. In my testing when I open the report designer with
    two datapipelines connected, they both set their dataset's Active property
    to True.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.