counting reports
Microsoft Office TrainingThe UK's Number 1 for Microsoft Office Training Sitemap add this page to your favourites/bookmarksBookmark page
 
view a printable version of this pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Counting in reports

Counting in reports

resolvedResolved · Medium Priority · Version 2007

replyReplyMon 22 Feb 2010, 15:03Delegate Gary said...

Counting in reports

I have created a query qStaff that generates a list of dates [date] and staff names [worker]. I wish to create a field in a report that counts the number of time one particular member of staff appears (e.g. Fred Bloggs) in that list. What should go in Expression builder to do this?

Also what is the expression if I wish to do the same with another employee (e.g. Bill Smith) and subtract it from the first value?

Are these SQL statements?

Many thanks, Gary Heather

For upcoming training course dates see: Pricing & availability

replyReplyTue 23 Feb 2010, 08:34Trainer Stephen said...

RE: Counting in reports

Hi Gary

Thanks for your question

I think a Grouped summation query will solve your first problem

Create a query with the staff field in twice. (They should be the only two fields in the query)

Then click the sigma button to add the grouping options. In the "group by" column in the second staff field change the setting to count, and run the query.

As to your second problem, I'm not sure that this can easily be achieved in an Access query. I suggest exporting the ungrouped query into excel and building a pivot table. I will however explore things further and if I find a soloution I will repost here

Reagrds

Stephen

replyReplyTue 23 Feb 2010, 12:26Delegate Gary said...

RE: Counting in reports

Thanks for the prompt reply Stephen however it doesnt solve the issue of date parameters nor how I select the data that I want in the report. Do you know of any books/manuals/courses that might cover this sort of thing.

Gary

 

 

Please browse our web site to find out more about
training database microsoft access and other Microsoft training courses.

Access tip:

Insert The Current Date

To insert the current date into a Table field or Form Text box use:

Ctrl+Semi-Colon(;)

View all Access hints and tips

forum postWhy do boolean values of variables not appear in the watch Window?

» Forum post: Watch Window


Rate this page:
2.2/5 (213 votes cast)
Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses
Microsoft Certified Partner
Security Seal verified by visa, mastercard securecard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Management training

Professional Skills courses
Project Management Course London
Project Management Courses London
Project Management Training London
Project Management Training
Project Seminar
Project Seminars
Time Management Course London
Time Management London
Time Management Courses London
Time Management Training London
Introduction to Finance course
Assertiveness Skills course
Effective Communications Skills training
Presentation Skills London

Training Formats

Public scheduled courses
On-site training
Closed company courses

Consultancy
Application Development

Blogs

Excel Training
MS Project Training
Microsoft Training Blog

Version differences

Office 2010 vs 2007
MS Project version differences

Training Information

London Computer Training
Computer Training London
Docklands Training Courses
Docklands Training London

Training venues London
Client list
FAQ
Pricing and availability
Course details / Syllabus

Training Articles
Training Information

Microsoft training

Microsoft Office training
& IT Applications

Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training
MS Project courses
MS Project training
Outlook courses
PowerPoint courses
PowerPoint training
VBA courses
Word courses
Microsoft.training
(more...)

Excel Training

Excel courses
Excel Training Courses Medway
Autonumber in Excel
Microsoft Excel training
Basic Excel Courses
Basic Excel Course
Basic Excel Training

Interested in MS Access training?

Access courses
Microsoft Access training
Microsoft access courses
Microsoft training access course
Microsoft+access+training
Access courses in london

Training provider

Training providers
IT training companies
IT training providers
Management Training providers
Management Training provider

Event history, feedback results
Events in 2012 · 2011 · 2010 · More

See also

Crystal Reports training