This documentation is archived and is not being maintained.

Basic Syntax

Visual Studio .NET 2003

When creating formulas, you have the option of using either Crystal or Basic syntax. If you are familiar with Microsoft Visual Basic or other versions of Basic, then Basic syntax may be more familiar to you. In general, Basic syntax is similar to Visual Basic except that it has specific extensions to handle reporting.

Report processing is not slowed down by using Basic syntax. Reports using Basic syntax formulas can run on any machine that Crystal Reports runs on. Also, using Basic syntax formulas does not require distributing any additional files with your reports.

For descriptions and examples of individual functions and operators, go to http://support.crystaldecisions.com/updates and search for cr8_formularef.zip.

In This Section

Basic Syntax Fundamentals
Comments
Fields
Statements
Assignment
Simple Data Types
Range Data Types
Array Data Types
Variables
Functions
Operators
Control Structures
Show: