I am creating my first subreport and have a very basic question. My subreport works. I have no selection criteria or parameters. It just spits out all the data in the table. Only a few records in it.
However, I want the subreport to only show records relevent to the main report when I place it on there.
Specifically, this is to print relevant discounts in ARInvoiceDiscountDetail when printing an invoice.
So I assume I have to create a parameter on my subreport, and pass the invoice ID to it from the main report so I only get the discount records associated with the invoice being printed.
Like I said, this is my first one using the reporting tool, so I’d appreciate it if someone could provide detailed instructions on this? I have viewed videos etc and they seem to skip over this basic linkage.
Best answer by hkabiriView original