Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a custom template

Status
Not open for further replies.

komyg

Programmer
Dec 13, 2005
68
BR
Hi, can anyone tell me how can I create a custom Crystal Reports report template?

Thnaks,
Komyg

PS: I'm very new to Crystal Reports so please be as specific as you can.
 
Templates in Crystal are used to apply a style to an existing report than offering a standard starting point. Useful if there is some fancy 'house style' that the report needs to conform to after you have got it working. But not if everyone accepts the basic layout that you'd get using the 'Expert' functions.

If you're wanting a basic report that includes standard elements - "template" in the sense the term it is used in Microsoft Word etc. - you'd be better off creating your own. What I've done is create my own "templates", which I call __Template_A, __Template_B etc. I pick one up and then use Save As to begin a new report that is already set as I like it.

You can also save such a "template" and apply it as a Crystal Template to an existing Crystal report. But this process has a way to picking up and re-using fields in odd places, not entirely satisfactory.

Crystal should have come with some examples, showing functions like Crosstab, Group, Sum etc.


[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Hi Madawc, thank you for your answer it was really helpfull.

But I still have another question.

Does anyone know where I can find the documentation of the Crystal Reports API for VB6?

For example what are the methods and properties of the classes CRAXDRT.report and CRAXDRT.application?

Thanks,
Komyg
 
I don't. You should post it as a new thread, since it is a new topic.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top