Results 1 to 2 of 2
  1. #1
    jlclark4 is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Dec 2010
    Location
    North Carolina
    Posts
    155

    Question Inverting Columns and Rows in Query

    I created a "Involved" table that has a list of name in it as column headers. Each field is set to Yes/No.

    I used this table as a subform in a ticketing system to track all those who are involved in each ticket.

    I want to be able to report how many tickets a user is involved in. Is that possible? I am okay with the long way... See example data below

    tblInvolved
    Ticket_ID
    Client_ID
    Employee_1
    Employee_2
    Employee_3
    Employee_4
    Employee_5

    11 2 True False False False True
    14 3 False True False True True
    15 3 False True True False False
    17 1 True True False False True

    I want a query to provide me:
    Employee True False
    Employee_1 2 2
    Employee_2 3 1
    Employee_3 1 3
    Employee_4 1 3
    Employee_5 3 1

  2. #2
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    I am not sure of all you are asking.

    However, look at the Dcount() function in a query.

    Dale

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

Similar Threads

  1. Query to transpose Data in Columns to Rows
    By ace1259 in forum Access
    Replies: 2
    Last Post: 04-10-2012, 01:49 PM
  2. Replies: 5
    Last Post: 03-29-2012, 09:21 PM
  3. Export Query to Specific Sheet and Rows/Columns
    By chewbears in forum Queries
    Replies: 7
    Last Post: 11-30-2011, 09:44 AM
  4. Showing Columns & Rows in Crosstab query
    By coach32 in forum Queries
    Replies: 6
    Last Post: 09-11-2011, 07:01 PM
  5. Replies: 1
    Last Post: 01-24-2011, 03:03 PM

Tags for this Thread

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