3

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 2

2

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 display Title in it
  • Crate a Report called main.rpt
  • Insert header.rpt as a sub-report inside main.rpt, put it in Page Header section
  • Pass the report name from main.rpt to header.rpt using subreport 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 click reimport subreport
  • enjoy the report!
3
  • Hi can you give me an example ?Thanks
    – user998405
    Jul 23, 2012 at 10:16
  • Look at the edit; it's not an example but a guide.. is it ok? Jul 23, 2012 at 10:28
  • @user998405 great! Good reporting! Jul 23, 2012 at 10:35
0

I have same query ...but i solved it diff. way ( unofficial way)

I didn't find such way.

Thanks fr question...

1
  • 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...
    – Niks
    Jul 23, 2012 at 10:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.