Solved

Count of Grouped Records

Posted on 2013-06-04
4
302 Views
Last Modified: 2013-06-05
I have a sales report that groups sales by SLS_REP and TKT_NO.
I would like to have a count of the number of Tickets from each sales rep in the SLS_REP Footer. I presently get a count of the number of items sold on each ticket in the TKT_NO Footer and a total of items sold in the SLS_REP Footer. This is good information but I would also like to get a count of the number of tickets per SLS_REP.

Thanks,
Ward
0
Comment
Question by:draw58
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 29

Expert Comment

by:IrogSinta
ID: 39220899
Add an invisible textbox in your SLS_REP detail section and call it txtCountSLS.  Insert "=1" in its ControlSource (without the quotes) and change its RunningSum property to Over Group.
Then add a textbox to your SLS_REP footer section with "=txtCountSLS" in its ControlSource.
0
 

Author Comment

by:draw58
ID: 39220962
Thanks,
That worked great! Could you please tell me how I could have a grand total in the report footer?
0
 
LVL 29

Accepted Solution

by:
IrogSinta earned 500 total points
ID: 39221157
Same procedure.  Add another invisible textbox in the same section as before but this time its RunnungSum property should be Over All.
0
 

Author Closing Comment

by:draw58
ID: 39221985
Thank You!
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question