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!

Could not apply template to document

Status
Not open for further replies.

krishnappan

Programmer
Feb 7, 2008
21
0
0
US
I am trying to create a standard report, selected a table from the connection, table contains 5 fields, then i clicked on a template thats available Block(Blue), then i get a error saying "could not apply template to document". Any help would be gr8.
 
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.


[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