|
Hi All,
I've got a problem with a subreport. I created a main report that retrieves data from a stored procedure with 2 parameters: company_code and a date. SP selects records for that company with date <= parameter date. One of the fields retrieved in the main report is a batch number in the detail section. I would like to use this batch number, pass it to a subreport which then retrieves details for each batch. The subreport also retrieves its data from a second stored procedure, and the batch number from the main report should be one of the input parameters of the stored procedure. Can anyone explain to me how to do this? Can provide more info if necessary. Thanks.
Rgds,
KvW
|