Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Thanks! Awesome group. I put out a simple question in the access/vba forum that I couldn't find answered on technet or anywhere else on the web and it was answered the same day!!..."

Geography

Where in the world do Tek-Tips members come from?
talbotsk (Programmer)
15 May 12 5:48
Hi. I have many master reports and I would like to unify the page headers of all of them by creating special sub report (template) which should display page numbers, print date, name of company etc. I want to avoid to put all of these information in each master report everytime I create new master report.
1. Is it possible to show master report page numbers N of M in the subreport without creating shared variable in each master report?
2. Should I use different method for creating such template?
Thank you very much for the help.
B.
Madawc (Programmer)
16 May 12 9:39
Templates in Crystal are more about giving a print style to an existing report, I've not found them useful, since the business doesn't want fancy report styles.

What I have done is create a 'Model Report', pick it up and use [Save As] each time I want a new report.

yinyang Madawc Williams (East Anglia, UK). Using Crystal 2008 with SQL and Windows XP yinyang

kenhamady (Instructor)
20 May 12 21:20
The term "template" means something specific in CR, so I assume you don't mean it in the sense of a template report that is applied using the template menu feature. I assume you just mean a report that you want to use over and over in multiple reports.

So to answer your question, page N of M should work fine in a subreport just as it does in the main report. Both share the same page numbering. The only time I have seen page numbering get confused in a report, is when there are lots of conditional sections, "keep together", and "can grow" objects in just the right combination. Even then it is very rare to have a problem.

So I don't see a problem with your approach. Did you try it and have a problem?

Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guides to Formulas, Parameters, Subreports, Cross-tabs, VB, Tips and Tricks
http://www.kenhamady.com/

talbotsk (Programmer)
22 May 12 1:36
I resolved this with the templates. Thank you for your answers.
lbass (TechnicalUser)
22 May 12 7:53
Please explain more.

-LB
talbotsk (Programmer)
22 May 12 8:14
I created report which can be used as template later. Every report can be used as template. Then I created new report based on this "template" report. There is an option during creating new report to base it on previously created report. But this is not regular way for creating templates. I use free CR .NET Framework which doesn't support true templates. If you want use true templates, you have to install paid version of CR.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close