Solved

Report Sub-Count and Total Count

Posted on 1998-02-16
3
447 Views
Last Modified: 2006-11-17
I have a report broken into Categories. What I require is a sub-count for each category and a report total combining all the sub-totals.  I'm using Access 7, and currently use "=count(*)" in the report footer, but I can't firgure out the sub-totals? Sometimes I see the formula on the actual report?  Also my total for my invoice only shows the cost of the last item in the list vice a combined total for all the items?
0
Comment
Question by:DWB
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:DWB
ID: 1968578
Edited text of question
0
 

Author Comment

by:DWB
ID: 1968579
Adjusted points to 50
0
 
LVL 5

Accepted Solution

by:
cekman earned 50 total points
ID: 1968580
In the category group footer simply create an unbound text box and put the following in the controlsource property:

=sum([fieldname])

where fieldname is the name of the field you want to total - for example [amount]

Repeat this exact same thing in the Report Footer for a grand total.

Good luck
CEkman

0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question