Creating Arrays

An array is the collection of the homogeneous data type. In Crystal Report, array variable can be defined as an array keyword. We can include two types of an array,
  • Static
  • Dynamic
1

We can also assign fixed position to the elements of an array and this position is fixed in the formula.

For Example

2

We can also adjust the data between the list of an array. Assign any column name of the inserting data and apply the formula.

For Example

3

Array with Loops

We can also use the loops in an array. With the loops, we can repeat the data or numbers many times according to the conditions. An example of an array with the loops are as follows,

4

This will show the 25 output.

Summary

Thus, we learnt the use of an array in Crystal Report.