User Tools

Site Tools


tplsetformulacrystal.htm
Navigation:  »No topics above this level«====== SetCrystalFormulaPreview ============ SetCrystalFormulaPrint ====== Return to chapter overview

The SetCrystalFormulaPreview and SetCrystalFormulaPrint templates both accomplish the exact same task. They set the Formula that is used to limit retrieved records. The difference between these two templates is that SetCrystalFormulaPreview is used in conjunction with the PreviewCrystalReport template and SetCrystalFormulaPrint is used in conjunction with the PrintCrystalReport template.

These templates call the Crystal8.SelectionFormula method. For more information on these methods refer to the ABC Library Reference, Crystal8 class.

Requirements

There templates require the PreviewCrystalReport or the PrintCrystalReport template respectively.

Populating the Template

1. From an embed point, press the Insert button and select either the SetCrystalFormulaPreview or SetCrystalFormulaPrint template.

Template Prompts

These templates provides the following prompts:

Formula Variable

Specify a valid variable that holds the Formula to send to the report. This variable may be a STRING, CSTRING, PSTRING, or MEMO data type. The variable may be a local, module, or global variable. You may also use a file field. This variable is required.

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