Skip to Content
0
Former Member
Jul 22, 2008 at 09:29 AM

How to use an Array

33 Views

Morning all,

I am trying to setup an array of numbers however, by looking at the crystal reports help file, I cannot find out how to set one up.

I have created a new formula and inserted

Local NumberVar Array x := MakeArray (1, 2, 3, 4, 5);

however, it says you cannot set a result to an array.

I have also looked at the Array help, but Crystal shows a VB syntax instead of Crystal. (How helpful to show VB syntax in CR!)

My question is how can you use an array in your report that it shows numbers 1-5?

many thanks

Kind Regards

Jehanzeb