JarreZoolook
Technical User
Hi,
Crystal Report XI
MSSQL database
When I use a array as a subreport link I get an error in the formula so I wonder if this function is changed in CR XI because I think I have done as all the posts and other sites says it should be done.
In subreport A I create a array of type number.
In my main report I join this array before using it as a subreport link:
WhilePrintingRecords;
shared stringvar array StamdataArray;
Join(StamdataArray,",")
Then I pass the formula to subreport B and in this subreport I want to use this array in the Select Expert. In the Select Expert I enter this formular:
{QV_PROC_PROPS_SHORT_STRING.OBJECTID} in tonumber(split({?Pm-@Risikovurdering - Stamdata Key}, ","))
But this formula gives this error:
This array must be subscripted. For example: Array.
I have see the formula described many places (for example here: but maybe this is for a older version of Crystal Reports.
I hope that anyone can tell me what I am doing wrong.
Morten
Denmark
Crystal Report XI
MSSQL database
When I use a array as a subreport link I get an error in the formula so I wonder if this function is changed in CR XI because I think I have done as all the posts and other sites says it should be done.
In subreport A I create a array of type number.
In my main report I join this array before using it as a subreport link:
WhilePrintingRecords;
shared stringvar array StamdataArray;
Join(StamdataArray,",")
Then I pass the formula to subreport B and in this subreport I want to use this array in the Select Expert. In the Select Expert I enter this formular:
{QV_PROC_PROPS_SHORT_STRING.OBJECTID} in tonumber(split({?Pm-@Risikovurdering - Stamdata Key}, ","))
But this formula gives this error:
This array must be subscripted. For example: Array.
I have see the formula described many places (for example here: but maybe this is for a older version of Crystal Reports.
I hope that anyone can tell me what I am doing wrong.
Morten
Denmark