Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Count of Grouped Records

Posted on 2013-06-04
4
Medium Priority
?
312 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
  • 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 2000 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

782 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