help to make report default
hi...
I have developer one report default, into report i write procedures,
functions, header's and footer's, for what outhers reports be children of
default.
what is the best form of make this ?
[]'s
Thanks
Ciro
I have developer one report default, into report i write procedures,
functions, header's and footer's, for what outhers reports be children of
default.
what is the best form of make this ?
[]'s
Thanks
Ciro
This discussion has been closed.
Comments
My recommendation would be to save this default report as a report template
file (.rtm) using the Report.Template property settings. You can use RAP to
keep all the report procedures local to the template. Then whenever you
load a new report, you can first load the default template file first and
have that information waiting for you.
Loading a template...
Report.Template.FileName := 'c:\Default.rtm';
Report.Template.LoadFromFile;
Report.Print;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
For new report developer in designer/runtime(end user) time this work ?
Why today i developer the basic report and sabe in component TppReport,
when end user modify the basic report and save i verify if exist one report
saved
for end user, if exist using the function Template.LoadFromFile.
[]'s
Ciro
Sorry, I'm having a bit of trouble understanding what you need. If you set
the SaveAsTemplate property of the TppReport object to True, ReportBuilder
will ask your user if he/she wants to save the report if the original
template has been changed.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com