Hi,
I am using cr9 and having a small problem with a sub report. Basically on the main report i have got the following.
DocNO Custid Amount
1 1 10
2 2 20
3 4 15
Now there is a subreport which is linked by docno, which is fine as it returns a sub report for each docno. But I would like to do is pass all the docnos in one go to the sub report and use that string to select information in the sub report i.e. in the sub repot a select criteria like docno in [1,2,3], but as yet I have not been able to get this to work.
I have tried creating string while reading the records in the main report i.e. "1,2,3" and passing that to the sub report but it does not work.
Any ideas or suggestions would be greatly appreciated.
Slim
I am using cr9 and having a small problem with a sub report. Basically on the main report i have got the following.
DocNO Custid Amount
1 1 10
2 2 20
3 4 15
Now there is a subreport which is linked by docno, which is fine as it returns a sub report for each docno. But I would like to do is pass all the docnos in one go to the sub report and use that string to select information in the sub report i.e. in the sub repot a select criteria like docno in [1,2,3], but as yet I have not been able to get this to work.
I have tried creating string while reading the records in the main report i.e. "1,2,3" and passing that to the sub report but it does not work.
Any ideas or suggestions would be greatly appreciated.
Slim