I needed a 3000 element array and got around it this way.
In report header added a formula which initiated 3 arrays with 1000 elements
global numbervar array ClientList;
global numbervar array ClientList2;
global numbervar array ClientList3;
global numbervar CliCnt;
If not({RPT_BFS_CLIENT_DETAILS.CLIENT_KEY} in ClientList) and not({RPT_BFS_CLIENT_DETAILS.CLIENT_KEY} in ClientList2) and
not({RPT_BFS_CLIENT_DETAILS.CLIENT_KEY} in ClientList3) and {RPT_BFS_QUOTE_ANALYSIS.POL_CRT_DATE} in [{?FROMDATE} to {?TODATE}]
and CliCnt <= 1000 then ClientList [CliCnt]:={RPT_BFS_CLIENT_DETAILS.CLIENT_KEY}
else
If not({RPT_BFS_CLIENT_DETAILS.CLIENT_KEY} in ClientList) and not({RPT_BFS_CLIENT_DETAILS.CLIENT_KEY} in ClientList2) and
not({RPT_BFS_CLIENT_DETAILS.CLIENT_KEY} in ClientList3) and {RPT_BFS_QUOTE_ANALYSIS.POL_CRT_DATE} in [{?FROMDATE} to {?TODATE}]
and CliCnt > 1000 and CliCnt <= 2000 then ClientList2 [CliCnt-1000]:={RPT_BFS_CLIENT_DETAILS.CLIENT_KEY}
else
If not({RPT_BFS_CLIENT_DETAILS.CLIENT_KEY} in ClientList) and not({RPT_BFS_CLIENT_DETAILS.CLIENT_KEY} in ClientList2) and
not({RPT_BFS_CLIENT_DETAILS.CLIENT_KEY} in ClientList3) and {RPT_BFS_QUOTE_ANALYSIS.POL_CRT_DATE} in [{?FROMDATE} to {?TODATE}]
and CliCnt > 2000 then ClientList [CliCnt-2000]:={RPT_BFS_CLIENT_DETAILS.CLIENT_KEY};
If not({RPT_BFS_CLIENT_DETAILS.CLIENT_KEY} in ClientList) and not({RPT_BFS_CLIENT_DETAILS.CLIENT_KEY} in ClientList2) and
not({RPT_BFS_CLIENT_DETAILS.CLIENT_KEY} in ClientList3) and {RPT_BFS_QUOTE_ANALYSIS.POL_CRT_DATE} in [{?FROMDATE} to {?TODATE}] then
CliCnt:= CliCnt+1;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.