Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Expert One-on-One Access Application Development
This is the forum to discuss the Wrox book Expert One-on-One Microsoft Access Application Development by Helen Feddema; ISBN: 9780764559044
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Expert One-on-One Access Application Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old October 13th, 2004, 06:45 PM
Authorized User
 
Join Date: Jun 2004
Location: Cumberland, MD, USA.
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default Totals vs Crosstab Query

The author states in the 2nd sentence in the 1st paragraph on page 132 under Crosstab Queries:

"A totals query can give you a total for all the sales made by all salespersons, but if you want to see separate sales totals for each salesperson, you need a crosstab query."

If you create a totals query based on a table containing the following fields: OrderID, SalesPerson and Sales using the following fields in the totals query: SalesPerson (GroupBy) and Sales (Sum), the separate totals will be generated for each salesperson as a result of the Group By on the SalesPerson fields. This can be done with a totals query. You don't need a crosstab query to generate separate sales totals. Where am I going wrong here?



Terry Waltz
__________________
Terry Waltz


Similar Threads
Thread Thread Starter Forum Replies Last Post
Crosstab date query Brendan Bartley Access 3 March 29th, 2007 09:18 AM
Help with query for multiple totals cstooch Classic ASP Professional 0 May 13th, 2006 12:09 PM
Crosstab Query Ben Access 7 November 22nd, 2004 06:08 AM
Crosstab query Berni016x SQL Server 2000 2 September 17th, 2004 10:43 AM
Crosstab query vladimir Access 1 December 1st, 2003 04:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.