473,406 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Access Report to count occurrences instead of listing every one individually

Hello again,

So it seems that the DB that you all helped me build and get right is a complete hit. Now they want reports based on what we are collecting. Long story very short......I have no idea how to code a report to do what they want.

In this DB, there is one table and two forms. First form, requests are placed, in the second form, requests are completed.

The completed by field is what they want a report based off of.

They are asking for the name of the person that completed a record followed by the number of records that they marked completed followed by their percentage of the total records completed.

it sounds easy enough, so I told them I would give it a try.
What I have made is a report that lists every value in order from the completed by field and followed by a box that lists the total number of records.......37 times one right after another.

I know how to arrange this information in excel and could make a report through that. What i am wondering if if Access will formulate this report for me without me having to do the manual work in excel.

I would prefer to learn the skills that I need to solve this, but I need a direction.

Any help is appreciated.

-Tony
Oct 5 '18 #1
6 1189
Funny thing is, I just received an email that tells me they also would like the ability to change the date range in this report as well as have a nice pie chart that displays the information as well.

I believe that I am in over my head on this.
Oct 5 '18 #2
PhilOfWalton
1,430 Expert 1GB
Reports are very versatile in Access and they have sufficiently good graphical abilities for most people, including pie charts. I believe Excel has more graphical potential, but I strongly doubt that you need to go there.

We are going to need a lot more information if you expect to get further help

Phil
Oct 5 '18 #3
Yes Sir!

OK, very simply DB that i built with some help from this forum. it is tracking change requests from the first form and the second form filters out the ones that have not been completed, the adjuster completed the request and puts there name to it, they click save and an email is generated and sent to the original requester.

The report that they are asking for is based on the "work completed by" column. what they want is a clean looking report that lists each adjuster's name if the first column, the total number of requests that they completed in the second column followed by the total number of requests in the DB and follow that by the percentage that they completed.

They are also asking for the ability to chose a date range for this report and a pie chart that shows the total amount of requests and each adjuster would be a slice of the pie in a different color.

Like I said, I can do this in Excel by using =countif arguments and making a pie chart. but it would be nice to be able to have access do this for me. I started to make a report, but the first issue that i am running into is instead of saying the adjusters name once followed by a count of the records, it is listing the adjusters name 37 times followed by the number 37, another 37 times. I am including two pictures, the first one is what I am getting from the report that I don't know how to change and the second is rather what I am wanting.

Not sure if this can be done.....I sure hope so.

The other request, is for the user to be able to adjust the parameters of the report, like a start and end date that this report would prompt for.

I learned how to write some very simple VBA code for my output email, but after that i believe that i know just about nothing in Access.
Attached Images
File Type: jpg current report.jpg (50.0 KB, 45 views)
File Type: jpg What i want report.JPG (41.3 KB, 53 views)
Oct 5 '18 #4
PhilOfWalton
1,430 Expert 1GB
OK, here are some pointers

This is a portion of a form to enter dates:-



Assume the form is called "FrmDates", and the 2 dates are called TxtStartDate and TxtEndDate

Then on pressing the Calculate button, generate a query which is to be the RecordSource of your Report with the following Criteria. On the OnOpen Event of your report, use the query as the RecordSource

Expand|Select|Wrap|Line Numbers
  1. Between Forms!FrmDates!TxtStartDate and Forms!FrmDates!TxtEndDate
Phil
Attached Images
File Type: png Form Dates.png (4.7 KB, 186 views)
Oct 5 '18 #5
Phil,

I like that. It seems easy to understand. Can you send me to a tutorial that can help me learn how do set up between this form, query and the report?

-Tony
Oct 5 '18 #6
PhilOfWalton
1,430 Expert 1GB
Tony, see a private message.

Phil
Oct 5 '18 #7

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

Similar topics

8
by: Mike MacSween | last post by:
tblCourses one to many to tblEvents. A course may have an intro workshop (a type of event), a mid course workshop, a final exam. Or any combination. Or something different in the future. At...
0
by: George | last post by:
I have a Microsoft Access report and I have automated this report using C#. When the report opens (via DoCmd.OpenReport) I am confronted with several prompts for criteria (example: "Please enter...
0
by: George | last post by:
I have a Microsoft Access report and I have automated this report using C#. When the report opens (via DoCmd.OpenReport) I am confronted with several prompts for parameters (example: "Please enter...
0
by: George | last post by:
I have a Microsoft Access report and I have automated this report using C#. When the report opens (via DoCmd.OpenReport) I am confronted with several prompts for parameters (example: "Please enter...
2
by: cajan341 | last post by:
Hello I am new to access, I have a report that has a list of classes in the section that is called class header. I want to count how many classes are on my report? and then divide this by another...
4
by: somanyusernamesaretakenal | last post by:
What I am trying to achieve: Basically I have generated a report in access. This report needs to be updated using excel. (Updating the new data, not changing existing data) What I did was I...
1
by: deshg | last post by:
Hey everyone, I think i am being kind of stupid but i can't quite work out how to do it and wondered if anyone might be able to help!? I'm using MS Access 2002 on Windows XP FYI. I have a...
1
by: sonicfun2006 | last post by:
I have SQL Server Database and MS Access 2003 is connected with ODBC. I have very large amount of records in various tables. The database is very dynamic as it changes every minute. I’m trying to...
6
by: ConfusedMay | last post by:
Hi I need some helps in calculating the invoice amount in access 2003 report. Basically I have an access report that shows invoice#, invoice amount, payment amount, and payment date. The problem is...
2
by: mhegazy | last post by:
I have built an access report that works as a stepped report based on grouped fields. When perfroming sum or count for the one of the grouped fields, access always yields the sum/count of the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.