Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old October 29th, 2009, 08:04 PM
Daniel Shiel Daniel Shiel is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2009
Posts: 19 Daniel Shiel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 58 m 56 sec
Reputation Power: 0
Total field only displays total from first line of report.

I have a report that displays feedback received per month with several sub categories.

In the page header i have these titles;
Month
Total
Escalated
Resolved
Resolved <21 Days
Resolved >21 Days
Method

I then have a MonthName Header to break up the feedbacks received by month. Also in the header i have a Total field.

I would like this field to count the number of feedbacks received in total for each month.

I couldn't work out how to insert an image so this is kind of what my report looks like.

Month - Total - Escalated - Resolved - <21 - >21 - Method
---------------------------------------------------------
October 6
Yes - 6 - 6 - 0 - Email
Yes - 1 - 1 - 0 - Fax
Yes - 9 - 9 - 0 - Telephone
---------------------------------------------------------
September 8
Yes - 8 - 8 - 0 - Email
Yes - 4 - 4 - 0 - Fax
---------------------------------------------------------

What my report is doing is only giving me the total from the first line. October 6/September 8, what the total should be is October 16/September 12.

Again as i couldn't paste a picture, here is the SQL:

SELECT qry_UpdateRecords.MonthName, qry_UpdateRecords.MonthNumber, Count(qry_UpdateRecords.FeedbackNumber) AS CountOfFeedbackNumber, qry_UpdateRecords.EscalatedYN, Count(qry_UpdateRecords.EscalatedYN) AS CountOfEscalatedYN, Count(qry_UpdateRecords.ResolvedYN) AS CountOfResolvedYN, Sum(qry_UpdateRecords.[Resolved<22]) AS [SumOfResolved<22], Sum(qry_UpdateRecords.[Resolved>21]) AS [SumOfResolved>21], qry_UpdateRecords.Method
FROM qry_UpdateRecords
GROUP BY qry_UpdateRecords.MonthName, qry_UpdateRecords.MonthNumber, qry_UpdateRecords.EscalatedYN, qry_UpdateRecords.Method
ORDER BY qry_UpdateRecords.MonthNumber DESC , qry_UpdateRecords.Method;

I hope i am just missing something really simple, any help would be greatly appreciated.

Reply With Quote
  #2  
Old November 5th, 2009, 04:09 PM
Daniel Shiel Daniel Shiel is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2009
Posts: 19 Daniel Shiel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 58 m 56 sec
Reputation Power: 0
I have resolved this issue.

Created a calculated field in the report as follows:

=Sum(qry_LoggedByMonth!CountOfFeedbackNumber)

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Total field only displays total from first line of report.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek