Hello ,
I have calculation summarising a displaying in array. I have years and data, For example array months.
WhilePrintingRecords;
Global NumberVar Array Months := [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];
Local NumberVar i := 1;
For i := 1 To 24 Step 1 Do
(
Months<i> := (ToNumber(
ToText(Year((DateAdd("m", i - 24, {@EndMonth as Date}))),'0000') &
Totext(Month((DateAdd("m", i - 24, {@EndMonth as Date}))),'00')
))
);
""
How is it possible to get array data to formula and consequently to the graph.
WhilePrintingRecords;
Global NumberVar Array Months;
does not work in formula (result in formula cannot be in array)
Or is there some another way how to get these data in graph?
thanks for help
Maritn