Results 1 to 7 of 7
  1. #1
    kestefon is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2013
    Posts
    108

    Access Report -- Side by Side Report Groups?

    My report contains three grouping levels: ReportType (there are only two values for this group), Indication, and Variable Name. Is there anyway to organize my report so that the two ReportType groups are shown side-by-side?

    To illustrate, my resulting report is laid out vertically (see below) , and instead I'd like the two Report Types to be in side-by-side columns.
    Code:
    Current Layout:
    
    Report Type 1
      Indication 1
          Variable A
          Variable B
          Variable C
       Indication 2
          Variable A
          Variable B
          Variable C
    
    Report Type 2
      Indication 1
          Variable A
          Variable B
          Variable C
       Indication 2
          Variable A
          Variable B
          Variable C
    And here's a screenshot of my Design view.
    Click image for larger version. 

Name:	Access_Report.png 
Views:	10 
Size:	12.0 KB 
ID:	14793

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Try a CROSSTAB query. The ReportType would be ColumnHeader field, Indication and Variable Name would be RowHeader fields, and [Variable Value] would be Data field.
    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
    kestefon is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2013
    Posts
    108
    Thanks yet again!

  4. #4
    kestefon is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2013
    Posts
    108
    Here's a related follow-up question:

    How would I add a percentage difference field to the query? Or is it better to do it within the report?

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Probably easier to calc in a textbox.
    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.

  6. #6
    kestefon is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2013
    Posts
    108
    I did the crosstab query for a number of tables. Most turned out fine, but one is producing a crosstab with a blank first row. Any idea what might cause that and how I could remove it?

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    There is record(s) in the source data with no data in field(s) involved in the crosstab. Fix the records or filter them out. I think applying filter criteria in crosstab is different than other queries. http://allenbrowne.com/ser-67.html#Param
    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. column report with headers along the side
    By ssalem in forum Reports
    Replies: 2
    Last Post: 06-20-2013, 02:22 PM
  2. Replies: 11
    Last Post: 07-20-2011, 11:28 AM
  3. Side-by-side incorrect configuration
    By jbon in forum Access
    Replies: 1
    Last Post: 04-12-2011, 06:41 PM
  4. same recordset subreport side by side
    By novreis in forum Reports
    Replies: 5
    Last Post: 02-16-2011, 04:21 PM
  5. Multiple records side by side
    By Patience in forum Reports
    Replies: 8
    Last Post: 09-01-2010, 09:17 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