How to clear the Data tab?
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
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
This discussion has been closed.
Comments
Use the Report.FreeModules routine to free/clear the DADE and RAP modules
before loading the designer.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com