>This is one of my first reports I've put together, so bear with me if I'm not
>providing the information you need.
[quoted text clipped - 4 lines]
>the total for each type of summary. I would like for the report to sort
>based on the total amount for each summary type, not in alpha order.
For you to tell the report to sort on a total, the value of
the total must be in the report's record source query.
You will need a Totals type query to calculate the sum for
each summary.
qryTotal:
SELECT Summary, Sum(Amt) As GrpAmt
FROM tblInternaltoPrimary
GROUP BY Summary
Then join that query to the table (on the summary field) in
another query that you use as the report's record source.
SELECT tblInternaltoPrimary.*, qryTotal.GrpAmt
FROM tblInternaltoPrimary.Summary
INNER JOIN qryTotal
ON tblInternaltoPrimary.Summary = qryTotal.GrpAmt

Signature
Marsh
MVP [MS Access]
StephanieH - 12 Dec 2005 17:46 GMT
Works perfectly.
Thanks Marsh
> >This is one of my first reports I've put together, so bear with me if I'm not
> >providing the information you need.
[quoted text clipped - 23 lines]
> INNER JOIN qryTotal
> ON tblInternaltoPrimary.Summary = qryTotal.GrpAmt