Results 1 to 2 of 2
  1. #1
    ambidextor is offline Novice
    Windows XP Access 2007
    Join Date
    Feb 2010
    Posts
    1

    Unhappy Query from multiple tables

    Hi guys,

    I've got seemingly unrelated 4 tables with customer orders data (each one for 1 year: 2000, 2001, 2002, 2003). Each table contains the following fields:

    Client ID (unique for the table)
    Company ID (repeated - e.g. there can be 3 clients from the same company)
    Company Address (repeated)
    Value of Purchases for this year

    My employer asks me to answer the following questions:
    - how many clients were added in 2001, 2002 and 2003 as compared to 2000?
    -how many clients were lost in 2001, 2002 and 2003 as compared to 2000?
    -calculate and chart the total value of the purchases over 4 years.

    I realize that I have to use some kind of summary Report or Query, but I am really at loss how to approach this task of comparing 4 tables. Any ideas would be appreciated!

    thanks!

    Ambi

  2. #2
    NassauBob's Avatar
    NassauBob is offline Not THAT Green
    Windows Vista Access 2007
    Join Date
    Feb 2010
    Location
    Augusta, GA
    Posts
    61
    Well, if there is no need to join the tables, then you shouldn't. You can do a report, with subreports, each displaying aggregate data(sum of purchase values, count of clients, average sales per customer, etc) for a particular year, then a grand total of any or all of those calculations in the main report footer.

    All without combining a single table.

    If you like this approach, and need help, PM me.

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

Similar Threads

  1. How can I search multiple tables?
    By botts121 in forum Access
    Replies: 4
    Last Post: 02-02-2010, 06:39 AM
  2. Query problem with multiple tables
    By DanW in forum Queries
    Replies: 1
    Last Post: 11-20-2009, 06:23 PM
  3. From with multiple tables
    By Darth_Katarn in forum Access
    Replies: 1
    Last Post: 09-23-2009, 08:17 AM
  4. Replies: 1
    Last Post: 07-07-2009, 01:00 PM
  5. Replies: 1
    Last Post: 07-06-2007, 08:27 AM

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