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

Newbie question on clearing the data pipeline for new reports

edited October 2008 in End User
We are using a custom explorer, although it is not registered as such. When
a report is selected and subsequently closed, if a new report is selected
from the explorer options, the designer still holds the query table/pipeline
from the previous report. How can this be cleared out?

I have seen documentation regarding freeing the TdaQueryDataView, but I
cannot determine how to reach that option with the delphi code, if in fact
this is the appropriate method. Any suggestions would be greatly
appreciated.

Report Builder for Delphi 2007, Professional Edition, 10.07

Thanks,
Donald

Comments

  • edited October 2008
    myReport.Template.New; // clear the layout
    myReport.FreeModules; // clear the data and code modules

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

    Best regards,

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