Report Syntax

Previous Topic: Editing Crystal Reports Formulas

Syntax is a set of rules that you must follow in order to create a correct formula in Crystal Reports. There are two types of syntax:

Almost any formula written with one syntax can be written with the other. Reports can contain formulas that use Basic syntax as well as formulas that use Crystal syntax. In general, Basic syntax is similar to Visual Basic, the main difference being that it has specific extensions that handle reporting needs. You can only use one type of syntax when creating a formula.

Note!

Note:
While you can choose between Basic Syntax or Crystal Syntax, all existing ServiceCEO Crystal Reports use Basic Syntax for formula fields. Therefore, be sure to switch to Basic Syntax when copying one of these formulas.

You must follow the syntax rules to create correct formulas. Some basic rules are:

Caution!

Caution:
Record selection and group selection formulas cannot be written in Basic syntax; they can only be written in Crystal Syntax.

Next Topic: Creating Crystal Reports Formulas

Back to Reports Table of Contents

Did you find this topic useful? Yes
No
I don't know
Why?