I have a report based on:
PARAMETERS Forms!frmProductions!ProdID Long;
SELECT Sum(qryRoleEvent.Fee) AS SumOfFee, First(qryMusician.LastName) AS
LastName, First(qryMusician.FirstName) AS FirstName
FROM (qryEvent INNER JOIN qryRoleEvent ON qryEvent.EventID =
qryRoleEvent.EventID) INNER JOIN qryMusician ON qryRoleEvent.MusoID =
qryMusician.MusoID
WHERE (((qryEvent.ProdID)=[Forms]![frmProductions]![ProdID]))
GROUP BY qryMusician.MusoID
ORDER BY First(qryMusician.LastName), First(qryMusician.FirstName);
It's the total each musician gets paid for a series of concerts which are
part of the production.
If I have text control in the report footer, =Sum([SumOfFee]), (i.e. total
budget for that production), I lose the sorting in the detail section. The
detail is a list of the musicians and their total fee.
If I move the text control into the page footer no problem.
Anybody got any idea why?
I can correct it with sorting and grouping for the detail. But I'd like to
know why.
Cheers, Mike