New Report state
If I create a new report in the Designer a number of properties of the
previous report that I was editing are carried over. So when I go to the
Data tab I am seeing the QueryViews from the previous report; and on the
Design tab I'm seeing the TppParameters that were in the the previous
report. Is this WAD, a bug or should I be calling some initialization
code somewhere?
TIA, Paul
previous report that I was editing are carried over. So when I go to the
Data tab I am seeing the QueryViews from the previous report; and on the
Design tab I'm seeing the TppParameters that were in the the previous
report. Is this WAD, a bug or should I be calling some initialization
code somewhere?
TIA, Paul
This discussion has been closed.
Comments
For RB 14.06 the ReportExplorer File | New free the data module, code
module, and parameters. Here is the relevant code. You can use the
Report.Template.OnNew event to implement this code and/or set any default
report properties.
FReport.FreeModules;
FReport.Parameters.Clear;
FReport.Template.New;
-
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Thanks for that Nard, I'll sort it out. Is there a good reason for
having the Designer behave so differently to the Report Explorer - seems
rather odd for it NOT for clear everything when creating a new report?
Paul