1 Is it possible to pass data from ssrs 2005 subreport to its parent report? 2 If yes, how? Thanks so much Philip
A:
You might be able to add a subquery to the query in the main report to get totals:
SELECT
t1.ClientID,
t1.Address,
-- Subquery to get invoice totals:
(SELECT SUM(InvoiceTotal)
FROM Invoices
WHERE Invoices.ClientID = t1.ClientID)
AS InvoiceTotal,
t1.CompanyName
FROM Clients t1;
Russell Fox
2010-04-29 21:21:33