Results 1 to 3 of 3
  1. #1
    ss6857 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2011
    Posts
    8

    Question Complex Grouping for Report

    Hello and thank you in advance.

    I am attempting to create a pricing report. I have different products and different prices for these products depending on the level. Example: Level one is orders under $500, Level 2 is between $500 and $1000, and Level 3 is over $1000.

    I would like the report to look like this:

    ..............L1...L2...L3
    Product 1 $50 $40 $30
    Product 2 $45 $40 $35
    Product 3 $70 $50 $30
    Product 4 $45 $35 $25
    Product 5 $60 $55 $50

    Whenever I group it (either on level or product), the product appear 3 times. Like:

    Level one
    ..Product 1 price
    ..Product 2 price etc
    Level two
    ..Product 1 price
    ..Product 2 price etc
    Level three
    ..Product 1 price
    ..Product 2 price etc

    Or:

    Product 1 Level one price
    Product 1 Level two price
    Product 1 Level three price


    etc

    Any suggestions? Sorry if this is so complex.. I thought it would be easier if I had visual examples...

    Side question: can you use code to create reports? is it advised?

  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    it is appearing the two ways you show - because that is how the database records data - in stacked rows.

    the left-to-right display is not how data is actually recorded; thus you will want to look into the crosstab query/report feature which transforms the display. it isn't the most intuitive feature and will help if you have an access text book.

  3. #3
    ss6857 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2011
    Posts
    8
    I have played around with the crosstab, however, there is more information that needs to be in the report and it only allows a certain number of criteria (3 row headings, and one column heading). And because I created that query from the table I need the rest of the information from, it won't let me put that other information on there when I go into the report wizard.

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

Similar Threads

  1. Report grouping issue
    By GraemeG in forum Reports
    Replies: 0
    Last Post: 06-16-2011, 10:50 AM
  2. Report grouping
    By tarhim47 in forum Reports
    Replies: 1
    Last Post: 06-08-2011, 04:31 PM
  3. Complex Year-to-Date Report
    By MHDataJockey in forum Reports
    Replies: 2
    Last Post: 05-11-2011, 10:42 AM
  4. Grouping a report
    By JAJansenJr in forum Reports
    Replies: 0
    Last Post: 03-01-2011, 11:05 PM
  5. Complex Query/Queries for a Report
    By Rawb in forum Queries
    Replies: 3
    Last Post: 02-04-2010, 07:44 AM

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