Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10116

Re: Array with While Loop - not working

$
0
0

Hello Leo,

You haven't defined the number of elements in the KPI_YTD array.

Before you assign a value to the element add the syntax redim preserve KPI_YTD[I]

So

Select {Country}

Case "Japan":

redim preserve KPI_YTD[I]

        KPI_YTD[I] := (sum({Amount}, {Region})

 

Regards,

Graham


Viewing all articles
Browse latest Browse all 10116

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>