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.
2 Answers
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 areaand displayTitlein it - Crate a Report called
main.rpt - Insert
header.rptas a sub-report insidemain.rpt, put it inPage Headersection - Pass the report name from
main.rpttoheader.rptusingsubreport links - enjoy the report!
change the template
- Open
header.rptand modyfy it (change the title font, or alignment, or insert an image) - Open
main.rptclickreimport subreport - enjoy the report!
-
-
Look at the edit; it's not an example but a guide.. is it ok? Jul 23, 2012 at 10:28
-
I have same query ...but i solved it diff. way ( unofficial way)
I didn't find such way.
Thanks fr question...
-
If you want to use particular report design as a template just do it with "" save as "" ... bt i think Microsoft will do it with VS 201* etc...– NiksJul 23, 2012 at 10:11