I am using crystal report in my asp web application. I would like to develop many reports which have the same design, header ,footer and etc.Did crystal report provide creating any template which can use for other report?Just like master page.
3
votes
2 Answers
2
votes
In Crystal Reports there is the concept on Template; i didn't find it very useful, and used it just to save some chart and use them with the same parameters on other reports.
For Headers and Footers i use Subreports instead; it's very easy to import them and to re-import if you want to change the Template
EDIT:
Here is an Example
- Create a Report called
header.rpt
- put a parameter in the header called
Title
- insert a
text area
and displayTitle
in it - Crate a Report called
main.rpt
- Insert
header.rpt
as a sub-report insidemain.rpt
, put it inPage Header
section - Pass the report name from
main.rpt
toheader.rpt
usingsubreport links
- enjoy the report!
change the template
- Open
header.rpt
and modyfy it (change the title font, or alignment, or insert an image) - Open
main.rpt
clickreimport subreport
- enjoy the report!