Results 1 to 2 of 2
  1. #1
    carcement is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Apr 2014
    Posts
    15

    Report with Unique Fields as Columns

    I have a large query that has information from accounts sorted by date, account repeat but they are always associated with a different date. I'd like to create a report where each date has it's own column with an associated field displayed as the information in the column. However, as data is added to the table I'd prefer to do it without having to make a query to filter each date each time information is added.

    The information is added in bulk with all the same dates, so ALL accounts (excluding newly opened accounts that may have no information with a certain date) should have information for each date - there will not be single accounts with their own date.

    For example: An account numbered 12345 with data of 57% on 1/2/13, 63% on 6/2/13, and 89% on 12/2/13.

    I'd like each of the dates to have their own column, with the account numbers as the row and the percent data to show under the date they are associated with.



    I'm not quite sure how to manage this in a report, or if it is possible. Any help would be greatly appreciated, thank you.


    Edit: base query column format is account #, date, then data point.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    You describe a CROSSTAB query. Building a perpetual report based on CROSSTAB can be difficult, especially with date field as the column parameter.

    Review: http://allenbrowne.com/ser-67.html#ColHead
    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. Replies: 5
    Last Post: 10-28-2013, 10:04 PM
  2. Unique ID's across multiple fields
    By mackoski in forum Access
    Replies: 3
    Last Post: 08-14-2013, 05:15 PM
  3. validation of unique fields
    By thanosgr in forum Programming
    Replies: 3
    Last Post: 05-02-2012, 09:59 AM
  4. Count Unique Fields and then get Average
    By Kirsti in forum Queries
    Replies: 5
    Last Post: 02-19-2012, 07:25 PM
  5. Creating a unique index on two fields
    By Paul H in forum Database Design
    Replies: 3
    Last Post: 11-03-2011, 10:15 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