473,320 Members | 1,854 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,320 software developers and data experts.

Creating a Percentage Box from two different =Count text boxes

I have a very simple table that has only four columns.
1) College
2) Department
3) Employee
4) Completed Date

I have created a report using groups and totals.

the College is the first level, the department is the next. I then ONLY want to know how many people are in each department, how many completed the training (I have succeeded this far) but I need to create a new field that divides the total number of completions by the total number in the department to return a percentage.

The EMPLOYEE filed has a text box with this: =Count(*)
THE COMPLETED DT has a text box with this: =Count([COMPLETED DT]

How do I write it so that I can come up with a percentage returned for the =Count([COMPLETED DT] divided by the =Count(*) ?

The texbox names are AccesTotalsEMPLOYEE and AccessTOTALSCOMPLETED DT



Thank you!
Attached Files
File Type: docx Training Pic.docx (1.51 MB, 159 views)
Jun 14 '18 #1

✓ answered by twinnyfo

tejajean,

Welcome to Bytes!

Simply create a new text box named AccessCompletePercent. Its record source will be = [AccesTotalsEMPLOYEE]/[AccessTOTALSCOMPLETED]

All should be fine after that.

Hope this hepps!

3 994
twinnyfo
3,653 Expert Mod 2GB
tejajean,

Welcome to Bytes!

Simply create a new text box named AccessCompletePercent. Its record source will be = [AccesTotalsEMPLOYEE]/[AccessTOTALSCOMPLETED]

All should be fine after that.

Hope this hepps!
Jun 14 '18 #2
YES! Thank you!
Sometimes the easiest things are the things I struggle with :)
Jun 14 '18 #3
twinnyfo
3,653 Expert Mod 2GB
Glad I could be of service. I've made plenty of head-scratching mistakes in my time.

Happy coding!
Jun 14 '18 #4

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

Similar topics

2
by: reneeccwest | last post by:
Different user input boxes are automatically populated based on a value of the dropdown box. Can anyone help me on that?
2
by: Greg Strong | last post by:
Hello All, Is there a simpler way to count text boxes with data in them when the 4 text boxes are in the header of a form? I've written the code below and it works. ,----- | Private Sub...
15
by: Rick | last post by:
Hello, I'm trying to create a javascript function that will allow the user to press a button within the html code that will add a text box right above the button. If the user presses it a...
9
by: Bill (Unique as my name) | last post by:
Please suggest some links or sources which show how to set up form text boxes in VBA. Thank you so much.
6
by: BurntWithTime | last post by:
Hello everyone, Please can anyone tell me if it is possible for a VB.NET application to check a database and then create textboxes on a form that correspond to those records on the database? For...
3
by: acecraig100 | last post by:
I am fairly new to Javascript. I have a form that users fill out to enter an animal to exhibit at a fair. Because we have no way of knowing, how many animals a user may enter, I created a table...
7
by: Proaccesspro | last post by:
I have to text boxes that have a different control source. Can I ADD the values of each text box?? I'm guessing the code to be something like: =sum(Count() & DCount("*","EMHS New Closed Appeals...
1
by: semomaniz | last post by:
I have a form where i have created the form dynamically. First i manually added a panel control to the web page. Then i added another panel dynamically and inside this panel i created tables. I have...
5
by: VBnewb13 | last post by:
Hello all, I have been having some troubles figuring out how to do this. Naturally, I have looked through this forum and countless others, all yielding the same answers to my question... which...
26
by: laurajchambers | last post by:
Hi I have a main form with a tab control, and each tab has a subform linked to the main form. Each subform has an unbound text box with the control source =Count(). When the main form opens...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.