Results 1 to 4 of 4
  1. #1
    dr4ke is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    108

    Join on condition

    I have 4 queries (Active, Deleted, Disabled & Suspended) which show Mailboxes with their respective status's (the status's are worked out from other conditions hence why 4 queries). Within each query there are 5 sizes (100MB, 1GB, 5GB, 50GB, Unlimited). What I would like to do is be able to create a query which counts each status by mailbox size, I.e.:

    Mailbox Size Active Deleted Disabled Suspended
    100MB 30 12 13 90
    1GB 12 13 51 15
    5GB 39 259 21 123
    50GB 140 145 112 109
    Unlimited 120 150 215 214



    It is it possible to InnerJoin queries, while at the same time counting individual query's?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    I would think you could join on the mailbox size field, unless I'm misunderstanding something.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    dr4ke is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    108
    You are, sorry, but it was probably my error in the explanation. There isn't actually a 'Status' field, the status is made from a number of conditions of other columns

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    But aren't the queries creating that field? Can you post the db here?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Inner Join works but not Left Join
    By kwooten in forum Queries
    Replies: 1
    Last Post: 12-11-2012, 05:09 PM
  2. Help with using the AND condition
    By ssturges in forum Access
    Replies: 1
    Last Post: 11-25-2012, 12:36 AM
  3. Outer Join Nested in Inner Join
    By Stevens7 in forum Queries
    Replies: 2
    Last Post: 10-19-2011, 01:34 PM
  4. Like condition for 1 column help pls!
    By stodd in forum Queries
    Replies: 1
    Last Post: 03-14-2010, 01:51 AM
  5. How to use IIF condition
    By nshaikh in forum Queries
    Replies: 4
    Last Post: 09-12-2008, 01:23 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