473,770 Members | 1,994 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Count Data on a Report & summarize it at the end

beacon
579 Contributor
Hey everybody,

I'm using 2003 and wondering if there's a way to count the data for multiple sections in a report and summarize it at the end of the section. For instance, I have a report with a header for different programs. I have another header for skill level. Then, after both of those, I have data for employees. After the data for each of the employees and the skill levels, I want to summarize it in the programs footer. Is this possible?
Expand|Select|Wrap|Line Numbers
  1. Program
  2.             Skill Level 1
  3.                             Doe   John    555-1234    john.doe@email.com
  4.                             Doe   Jane    555-2345    jane.doe@email.com
  5.             Skill Level 2
  6.                             Doe   Matt    555-3456    matt.doe@email.com
  7.                             Doe   Mary    555-4567    mary.doe@email.com
  8.  
  9.                                           Total for Skill Level 1         2
  10.                                           Total for Skill Level 2         2
  11.                                           Total for All Employees         4
  12.  
I know how to get the total for all, but I haven't been able to get it for the individual skill levels. I have a skill level id field with skill level that is delineated with 1s and 2s if that helps.

Thanks,
beacon
Oct 25 '07 #1
3 2939
beacon
579 Contributor
I don't know if it's against the rules to reply to your own post because I'm too lazy to go read the rules, but I wanted to check one more time to see if any might have a solution to my problem. I'm also open to suggestions about how I might reorganize my data to make summarizing it more efficient.

Thanks,
beacon
Oct 26 '07 #2
Jim Doherty
897 Recognized Expert Contributor
I don't know if it's against the rules to reply to your own post because I'm too lazy to go read the rules, but I wanted to check one more time to see if any might have a solution to my problem. I'm also open to suggestions about how I might reorganize my data to make summarizing it more efficient.

Thanks,
beacon
OK have you setup anything in 'Group Headers and footers' before in Access? because if you are summing or counting within each group level the customary way is to place and unbound textbox control in the footer of each grouped section and count on the number of IDs within each group.
For instance in the controlsource of the textbox simply type =Count([ID]) where id represents the name of the field that you want to count on in that group

You need to turn on the footer section for each group it doesnt show by default in Report design....View. ..Sorting and Grouping ....in the dialog box turn on group footers and put the textboxes however many you want to use in there.

Jim :)
Oct 26 '07 #3
beacon
579 Contributor
OK have you setup anything in 'Group Headers and footers' before in Access? because if you are summing or counting within each group level the customary way is to place and unbound textbox control in the footer of each grouped section and count on the number of IDs within each group.
For instance in the controlsource of the textbox simply type =Count([ID]) where id represents the name of the field that you want to count on in that group

You need to turn on the footer section for each group it doesnt show by default in Report design....View. ..Sorting and Grouping ....in the dialog box turn on group footers and put the textboxes however many you want to use in there.

Jim :)
Hi Jim,

I've got a count function setup and all of my footers turned on, but the problem is that I want to count everything for the skill level but have it summarized in the program footer.

I haven't been able to find a way to go back and forth between to sections of a report or if it's even possible.

I posted another question asking if you can use queries in reports and am waiting for a response. If you can, I already have a query statement written waiting to go.

Thanks for your reply,
beacon
Oct 26 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

7
2241
by: Will | last post by:
On the subject of Data Warehouses, Data Cubes & OLAP…. I would like to speak frankly about Data Warehouses, Data Cubes and OLAP (on-line analytical processing). Has it dawned on anyone else that these buzz words were created by some geek who decided to take a stab at marketing? Knowing that to the backwoods manager who knows little of technology that new innovative names for old concepts would help to sale their products. I mean...
2
7827
by: SJM | last post by:
I have a report that displays records of real estate properties. It is possible for each property to appear a number of times for various reasons. Each record however is unique. What I would like to do is display the total of the number of unique properties in the report footer, not just a count of the number of records. I have experimented with grouping on the property field and using running sums but to no avail. I have also tried to...
1
1749
by: Jessica | last post by:
I have a database where a person is able to enter the different tasks they do each day by specific department and matter. On a form they enter the date, their name, and their title; in a subform they select from a drop down list what department/section this task pertains to and then they select the matter they are discussing or working on with that department. They enter the time they spent on this matter and they also enter some more...
1
3198
by: James | last post by:
Access 2003, trying to count the number of records that meet a criteria. According to Help: "In the Database window, click Queries under Objects, and then click New on the database window toolbar. Add the table, view, or function you want to summarize in the Diagram pane. " OK, that's easy.....but then..... "Right-click the background of the Diagram pane, then choose Group By
3
4306
by: Miguel | last post by:
I have a parameter query to filter by date from which I run a report. I need to be able to count the number of times a particular product or error type appears after the report is run from the query. The products and error types are limited to a defined list. I need to put these summary totals in the footer. Using the Dcount function works, but returns all items, not those within the date range. Any assistance would be appreciated. ...
1
4523
by: heckstein | last post by:
I am working in Access 2002 and trying to create a report from our company's learming management system. I am not a DBA and most of my SQL knowledge has been self taught through trial and error. I have created an access query to track the number of training hours for a training group. The query is working except for one piece of data and I hoping someone can help me. There is a field titled enrollment status, which presents an alpha character of...
5
8958
by: Dean | last post by:
Hi, I have a table with non-unique identifiers. I need to take all the values with the same ID's and combine them into one field with a semicolon as a seperator. These values may exceed 255 characters. I then need to count the values in the cell and see if it adds up to 240 or more and then shorten that field by cutting off the excess and adding only "...and other". So, to recap, I need to summarise values based on the ID field, count...
1
3055
by: nospam | last post by:
I have a report to count some statistics of case data. I can't figure out how to make Access group and sum/count information to give me a nice statistics report. Basically the database has case information for matters at a law firm. The point is to create this report to group on the attorney. Then for each attorney count the cases where the status (CStatus is the field) is "Open", where the status is "Closed", sum the size of the media...
1
1928
misscrf
by: misscrf | last post by:
have a report that I am trying to build and I can't figure out how to make Access group and sum/count information to give me a nice statistics report. Basically the database has case information for matters at a law firm. The point is to create this report to group on the attorney. Then for each attorney count the cases where the status (CStatus is the field) is "Open", where the status is "Closed", sum the size of the media in all of the...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10259
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9906
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7456
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.