Please help me.

I have a subreport and main report which are based on two different queries. It is possible that the Invoices(column) which are in the main report could exist in the sub report. But, I do not want the invoice which are in the main report to be processed in the sub report.(example, if an invoice 100 is there in the main report, then it should ignore invoice 100 in the sub report) I was thinking to pass the values from the main report to the sub report as an array and compare it against the sub report. How do we pass array values from main to sub report?

let me know if any ideas.

Thank you.