Results 1 to 5 of 5
  1. #1
    MCertik is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Dec 2012
    Posts
    3

    "Table" looking reports

    Hi Guys,



    I'm the new one here and have probably a silly question, but what might
    be a best way to build the table report in Access 2010 such as the one below?

    Many thanks,

    Michal
    Attached Thumbnails Attached Thumbnails swing.JPG  

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    This is not easy.

    One way might be 7 CROSSTAB queries and 7 subreports.

    Another would involve elaborate VBA code writing records to a 'temp' table.
    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.

  3. #3
    MCertik is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Dec 2012
    Posts
    3
    Thanks a lot for your answer. I was afraid that this problem won't be so trivial. :/
    Could you be however a bit more precise please? I am relatively new in Access
    (but I have lots of experience in VBA and Excel).

    Thank you again!

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    Explore CROSSTAB (pivot in Excel) queries. On second thought, there is probably a way to do a single CROSSTAB to get that output but as I said, not easy. Also, stabilizing CROSSTAB to build a report that will run perpetually is even harder, especially when pivoting on date values. If you want to provide sample of raw data (Excel or Access file), could probably figure it out. Follow instructions at bottom of my post.

    Here is discussion of other methods to 'pivot' data http://forums.aspfree.com/microsoft-...ry-322123.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.

  5. #5
    MCertik is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Dec 2012
    Posts
    3
    Thanks a lot June7! The Crosstab query is exactly what I needed. I just need to apply it twice (with converting the first query into table again) and then it gives me the desired result. I guess I might have some problems with formatting, but for the moment this is fine.

    Thanks again!

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

Similar Threads

  1. Replies: 2
    Last Post: 11-14-2012, 04:47 PM
  2. Export "Query or Report" to a "Delimited Text File"
    By hawzmolly in forum Import/Export Data
    Replies: 3
    Last Post: 08-31-2012, 08:00 AM
  3. Replies: 11
    Last Post: 03-29-2012, 02:32 PM
  4. Problem with inserting "DATE" in reports
    By Larry Fox in forum Access
    Replies: 1
    Last Post: 08-24-2011, 07:09 AM
  5. "Count" and "Countif" in Reports
    By JMantei in forum Reports
    Replies: 1
    Last Post: 06-20-2006, 02:20 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