beautypg.com

Entering formula components, Formula editor buttons, Changing the font size of the formula editor – HP Intelligent Management Center Standard Software Platform User Manual

Page 568

background image

Setting the default syntax

When you open the Formula Editor, Crystal syntax appears as the syntax
default. If you want to change the syntax default, select Options from the
File menu, then click the Reporting tab. Choose the preferred syntax from
the Formula Language drop-down list and click OK. When you access the
Formula Editor, the syntax you selected appears as the default.

Entering formula components

The Report Fields, Functions, and Operators tree at the top of the Formula
Editor contain the primary formula components. Double-click any component
from these trees to add this component to your formula.

For example, if you set the syntax to Basic syntax and double-click the
Operators > Control Structures > Multi-Line If in the Operators tree, the
following text is transferred to the Formula text window with the cursor
between the If and Then:

If | Then
ElseIf Then
Else
End If

The above text helps you organize the parts needed to write your formula.

Formula Editor buttons

For a list of the buttons you can use in the Formula Editor, see the
Expressions Editor Toolbar section of

Formula Workshop buttons

.

Changing the font size of the Formula Editor

The Options dialog box (File menu) allows you to change the font size and
the background/foreground color of text, comments, and keywords in the
Formula Editor.

568

Crystal Reports 2008 SP3 User's Guide

Using Formulas

22

Specifying formulas