Types of variables in Crystal Reports
There are many types of variables you can use in Crystal Reports. These include:
- Standard variables - a single value of a specific type.
- Ranges - a minimum and maximum value of a specific type.
- Arrays - multiple values of a specific type.
- Array Ranges - multiple minimum and maximum values of a specific type.
The specific types available include:
- Boolean - a true or false value.
- Number - a numeric value.
- Currency - a numeric value designated as money.
- Date - a specific date.
- Time - a specific time.
- DateTime - a specific time on a specific date.
- String - single or multiple alphabetical and numeric characters.
Crystal report variables
Type | Standard Variables | Ranges | Arrays | Array Ranges |
---|---|---|---|---|
Boolean | BooleanVar | BooleanVar range | BooleanVar array | BooleanVar range array |
Number | NumberVar | NumberVar range | NumberVar array | NumberVar range array |
Currency | CurrencyVar | CurrencyVar range | CurrencyVar array | CurrencyVar range array |
Date | DateVar | DateVar range | DateVar array | DateVar range array |
Time | TimeVar | TimeVar range | TimeVar array | TimeVar range array |
DateTime | DateTimeVar | DateTimeVar range | DateTimeVar array | DateTimeVar range array |
String | StringVar | StringVar range | StringVar array | StringVar range array |