Results 1 to 5 of 5
  1. #1
    Tammy is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Nov 2014
    Posts
    29

    Cross Tab Query


    I'd like to create a "cross tab" query that instead of summing/counting, I would like it to list the contents. I've draw a basic sample of what I'm looking to do. In some cases there will be more then one person on a project filling the same role (for example you may have several designers working on one project but only one project manager). Does anyone have any thoughts on how this might be accomplished?

    All ideas would be appreciated.

    Click image for larger version. 

Name:	image1.jpeg 
Views:	8 
Size:	79.6 KB 
ID:	20854

    Thanks

    Tammy

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    You will need a base query that looks like this:
    NAME PROJECT ROLE
    BOB project 1 role 1
    JEFF project 2 role 1
    JANE project 3 role 1
    SARA project 4 role 3
    RANDY project 1 role 3
    Then create a crosstab query on THAT query and put PROJECT as row headers, ROLE as col headers, and NAME as the intersection (use FIRST. instead of SUM, or COUNT ,use FIRST)

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    use the crosstab wizard. it guides you perfectly thru the steps.

  4. #4
    Tammy is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Nov 2014
    Posts
    29
    My experience with First is that it will only provide you with one person per role but if there are several designers, only the first one will show up on this type of query.

    Is there a way to ensure that all participants are listed instead of just the First or Last?

    Thanks

    Tammy

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Not with a simple CROSSTAB.

    Review: http://allenbrowne.com/func-concat.html
    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. Cross Tab Query
    By vishal09 in forum Access
    Replies: 3
    Last Post: 04-04-2015, 10:52 AM
  2. Cross Tab Query.
    By cap.zadi in forum Queries
    Replies: 1
    Last Post: 01-04-2012, 01:29 PM
  3. Cross-tab query YTD
    By stremchem in forum Queries
    Replies: 9
    Last Post: 08-26-2010, 10:09 AM
  4. Cross Tab Query
    By RycherX in forum Queries
    Replies: 1
    Last Post: 04-26-2010, 12:19 PM
  5. Cross Tab Query
    By nengster in forum Queries
    Replies: 0
    Last Post: 02-18-2009, 07:12 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