Results 1 to 2 of 2
  1. #1
    dylan_dog is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2012
    Posts
    9

    two different time ranges

    Hi,



    I have a table that contains multiple records containing purchases dated between years 2010 and 2011 a joined table with customer data. Is it possible to create a single query that sums the purchases for every customer in one column for 2010 and in another for 2011?

    Thanks

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    A crosstab query will accomplish that. Use the query wizard to build one.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Working with date ranges
    By Acegundam in forum Queries
    Replies: 3
    Last Post: 11-04-2011, 02:04 PM
  2. Issue recognizing Excel 'ranges'
    By Captain Database ...!! in forum Import/Export Data
    Replies: 4
    Last Post: 07-18-2011, 02:22 PM
  3. Count records by ranges
    By mjhopler in forum Access
    Replies: 2
    Last Post: 07-09-2011, 12:11 PM
  4. Grouping numbers into ranges
    By sabre in forum Queries
    Replies: 3
    Last Post: 03-30-2011, 10:49 AM
  5. Select Query Using Different Date Ranges
    By Hemi426 in forum Queries
    Replies: 3
    Last Post: 07-26-2010, 01:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums