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

SUM of a text box in Access Reports

Hello everyone.

I have created a report that runs off a query. The query will return
results that have different records for different people but will only
have one (staff time) see query results below.
FIRSTNAME SUB_TEAM_1 QUEUENAME Actual_Time Staff
Aryn Heather Williams 1.245
10.09
Aryn Heather Williams UNDERWRITING 1.222
10.09
Anne Miranda Wilkins 0.426666666666667 7.598
Anne Miranda Wilkins SET UP 0.632222222222222 7.598
Anne Miranda Wilkins UNDERWRITING 2.35194444444444 7.598
Angel Miranda Wilkins 1.50055555555556 9.09
Angel Miranda Wilkins UNDERWRITING 3.36888888888889 9.09
Cindy Stephanie Becker 1.12361111111111 10.48
Cindy Stephanie Becker PAYMENTS 4.185 10.48
Cindy Stephanie Becker UNDERWRITING 0.285277777777778 10.48

Then i run a report off of this query. On the sub_team_1 footer i want
to total the staff hours for each Sub Team. However since there are
more than one record for each person, the staff time is sometimes
doubled/tripled when I do a sum so I cant go that route. Onthe
firstname footer i have a textbox with [Staff] that give me their staff
hours only once. When i try to sum up all of the values of the staff
textbox it asks for a value for Text115 which i named the Staff textbox
to. Is it possible to sum up a TextBox in the first place? Is there
anyway around this?

My control source is: =Sum([Text115]).

Please let me know if you would like to have more details.

thanks
Phil

Nov 30 '06 #1
2 16483
Phil:

I think you need to add a second unbound text box in your FIRSTNAME
footer with its control source as [Staff], and then turn on the Running
Sum property to Over Group. Name it TotalStaff. That should cause
Access to calculate a running sum for you, but only each time it hits a
new FIRSTNAME footer in your report. Once you've confirmed that it's
doing what you want it to, then set the Visible property to No (so it
doesn't show up on your report in the FIRSTNAME footer) and then add
another text field whose control source is =[TotalStaff] somewhere in
the report that is below the TotalStaff field. (If you put it
somewhere in the report above the TotalStaff field, it won't have
finished the running total for you.)

HTH,
Jana
ph*******@gmail.com wrote:
Hello everyone.

I have created a report that runs off a query. The query will return
results that have different records for different people but will only
have one (staff time) see query results below.
FIRSTNAME SUB_TEAM_1 QUEUENAME Actual_Time Staff
Aryn Heather Williams 1.245
10.09
Aryn Heather Williams UNDERWRITING 1.222
10.09
Anne Miranda Wilkins 0.426666666666667 7.598
Anne Miranda Wilkins SET UP 0.632222222222222 7.598
Anne Miranda Wilkins UNDERWRITING 2.35194444444444 7.598
Angel Miranda Wilkins 1.50055555555556 9.09
Angel Miranda Wilkins UNDERWRITING 3.36888888888889 9.09
Cindy Stephanie Becker 1.12361111111111 10.48
Cindy Stephanie Becker PAYMENTS 4.185 10.48
Cindy Stephanie Becker UNDERWRITING 0.285277777777778 10.48

Then i run a report off of this query. On the sub_team_1 footer i want
to total the staff hours for each Sub Team. However since there are
more than one record for each person, the staff time is sometimes
doubled/tripled when I do a sum so I cant go that route. Onthe
firstname footer i have a textbox with [Staff] that give me their staff
hours only once. When i try to sum up all of the values of the staff
textbox it asks for a value for Text115 which i named the Staff textbox
to. Is it possible to sum up a TextBox in the first place? Is there
anyway around this?

My control source is: =Sum([Text115]).

Please let me know if you would like to have more details.

thanks
Phil
Dec 1 '06 #2
.... and a month later i finally use this. HELPED ALOT!! THANKS!
Jana wrote:
Phil:

I think you need to add a second unbound text box in your FIRSTNAME
footer with its control source as [Staff], and then turn on the Running
Sum property to Over Group. Name it TotalStaff. That should cause
Access to calculate a running sum for you, but only each time it hits a
new FIRSTNAME footer in your report. Once you've confirmed that it's
doing what you want it to, then set the Visible property to No (so it
doesn't show up on your report in the FIRSTNAME footer) and then add
another text field whose control source is =[TotalStaff] somewhere in
the report that is below the TotalStaff field. (If you put it
somewhere in the report above the TotalStaff field, it won't have
finished the running total for you.)

HTH,
Jana
ph*******@gmail.com wrote:
Hello everyone.

I have created a report that runs off a query. The query will return
results that have different records for different people but will only
have one (staff time) see query results below.
FIRSTNAME SUB_TEAM_1 QUEUENAME Actual_Time Staff
Aryn 1.245
10.09
Aryn UNDERWRITING 1.222
10.09
Anne 0.426666666666667 7.598
Anne SET UP 0.632222222222222 7.598
Anne UNDERWRITING 2.35194444444444 7.598
Angel 1.50055555555556 9.09
Angel UNDERWRITING 3.36888888888889 9.09
Cindy 1.12361111111111 10.48
Cindy PAYMENTS 4.185 10.48
Cindy UNDERWRITING 0.285277777777778 10.48

Then i run a report off of this query. On the sub_team_1 footer i want
to total the staff hours for each Sub Team. However since there are
more than one record for each person, the staff time is sometimes
doubled/tripled when I do a sum so I cant go that route. Onthe
firstname footer i have a textbox with [Staff] that give me their staff
hours only once. When i try to sum up all of the values of the staff
textbox it asks for a value for Text115 which i named the Staff textbox
to. Is it possible to sum up a TextBox in the first place? Is there
anyway around this?

My control source is: =Sum([Text115]).

Please let me know if you would like to have more details.

thanks
Phil
Jan 11 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Joris Kempen | last post by:
Hi people, I know that the question has come around sometimes: How to open an Access Report using ASP and export it to for example RTF. I'm trying to implement the first method of David...
4
by: intl04 | last post by:
I have a memo field that is included in some Access reports I created. Is there some way for the memo field to display nicely formatted text, with line breaks between paragraphs? Or is it necessary...
16
by: cyranoVR | last post by:
This is the approach I used to automate printing of Microsoft Access reports to PDF format i.e. unattended and without annoying "Save As..." dialogs, and - more importantly - without having to use...
5
by: Steven Taylor | last post by:
Hope someone can help. I have an application whereby in order to create one document type I effectively print out 3 or 4 access reports in correct order. So the user goes to the printer,...
1
by: Brian Barnes | last post by:
I've been searching using google trying to find a way to display Access Reports via ASP.NET and only finding commericial products which appear to require that the report needs to be converted every...
1
by: David | last post by:
Does anyone know how to run MS Access reports from VB.net. I'd like to keep the existing reports in the database if I can. Thanks David
0
by: dkurtz | last post by:
D. Lesandrini published an article some time ago about exporting Access reports as XML, and then updating those XML reports dynamically in ..NET....
16
by: JoeW | last post by:
I'm utilizing a database that I created within MS Access within a program I've created in VB.NET. I am using the VB front end to navigate the information, but want to be able to print a report,...
6
by: GAC | last post by:
I've used conditional formatting on ACCESS reports but have come up with a problem using it for a FIELD that has a value of either YES or blank/null. The default formatting (used when condition(s)...
1
by: senort01 | last post by:
Is it possible to create a table within MS Access Reports so that horizontal data stays aligned? For example, I have two columns of data. The left column is fixed, the right column will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.