User Tools

Site Tools


tplprintcrystal.htm
Navigation:  »No topics above this level«====== PrintCrystalReport ====== Return to chapter overview

This template allows for printing of predefined Crystal Reports. The report cannot be previewed with this template. An optional printer setup dialog is available.

Requirements

There are no requirements for this template.

Populating the Template

1. From an embed point, press the Insert button and select the PrintCrystalReport template.

Template Prompts

The PrintCrystalReport template provides the following prompts:

Object Name

Set the object's label for the template-generated code. By fine-tuning the object names, you can make your generated code easier to read. The default object name is oCrystal8.

Report Name or variable (prefixed with !)

Type a valid Crystal report name including extension (.rpt) or a variable that will contain the report name. When using a variable, precede it with an exclamation (!). The report name must include the runtime path of the file. If the file is not found at runtime an error window will display containing the following error- “error opening job”.

Number of Copies or variable

Specify the number of copies to print as a hard coded numeric value or specify a variable (prefixed with !) to set the number of copies at runtime.

Show Printer Setup?

Check this box to show the printer setup dialog before the report is sent to the printer. This allows the user to select a specific printer and set printer properties.

tplprintcrystal.htm.txt · Last modified: 2019/11/13 16:57 by 127.0.0.1