How can i define a global array variable?

A local array is defined as TfrxArray but I need to create a global array that can be used in different report events.
How can i do it?

Thanks

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 9:08PM
    create the array
    in the empty begin end block of the code page you can then access it from any report code page event
    IE ar[0] := 1;

    var ar: TfrxArray;
    Begin
    ar := TfrxArray.Create;
    end.

Leave a Comment