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

How to clear the Data tab?

edited July 2009 in End User
Hello,

I am attempting to clear the designer to give an End-User a "clean
slate" every time when they invoke the designer, however if the user
had put some data in the Data tab, closed the designer, then reopened
the designer, the Data tab will not be cleared out despite my efforts
to establish a fresh template.

For example here is what I am doing but the data tab is not cleared...

Report.Template.FileName := '';
Report.Template.New;
Designer.Form.PopupParent := frmMain;
Designer.ShowModal;

How can I clear out the Data tab in the designer?


Using Report Builder 10.09 & Delphi 2006


--
Raymond Alexander

Comments

This discussion has been closed.