Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Report-Summing a field with a group by clause

Status
Not open for further replies.

mikepf

Programmer
Sep 5, 2007
38
US
My query has a Percent to Totals calculation (w/ group by clause). The report that uses this query prints 3 columns (the item name, "number of rows", and Pct to Total). Now I want to add a Sum("number of rows") to the report footer but am getting "Multi-level group by clause is not allowed in a subquery". Is there a work-around?
 
Can you use the DSum() aggregate function as the data source for a text box?

Money can't buy happiness -- but somehow it's more comfortable to cry in a Corvette than in a Yugo.
 
This error is generally caused by a subquery in your report's record source. You may be able to use the horribly slow DSum() or similar.

Duane MS Access MVP
Now help me support United Cerebral Palsy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top