Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2015
    Posts
    4

    Access Report Grouping

    My database contains sales records. There are occasions whereby one unit could have 2 salespeople. In this case, each salesperson receives credit for .5 units sold.
    I'd like for my report to list all units sold by a person whether that person be Salesperson 1 or Salesperson 2.
    This image shows Salesperson 2 as a column under the group for Salesperson 1. I want to keep it here as a display, but also shown under the sales associate (Joiner in this case) where she is as Salesperson 1.

    Click image for larger version. 

Name:	Access Pic.jpg 
Views:	15 
Size:	28.3 KB 
ID:	22598

  2. #2
    llkhoutx is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jan 2010
    Location
    Houston, Texas USA
    Posts
    373
    Group your report by sales person.

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    You have two fields for sales persons (Salesperson1, Salesperson2)?
    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.

  4. #4
    Join Date
    Nov 2015
    Posts
    4
    Salesperson 1 and Salesperson 2 are always different names. In other words, sometimes 2 different people are involved in selling a car. Both people need to get paid a commission. I'm trying to build a commission report for them both.

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    So that was a yes in answer to my question?

    If so, this is not a normalized structure. If you want the same record to display in the report under both persons, this will likely require a UNION query as the report RecordSource.

    There can never be more than 2 salespersons per sale?
    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
    Join Date
    Nov 2015
    Posts
    4
    There often WILL be 2 salesperson per sale

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    Yes, but never will be more than 2? No need to allow for more than 2?
    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.

  8. #8
    Join Date
    Nov 2015
    Posts
    4
    There will never be more than 2 salespeople for a transaction.

  9. #9
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    I guess it is confirmed there are two salesperson fields. My advice in post 5 still applies.
    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. Report creating in Access by Grouping
    By saleemsadique in forum Access
    Replies: 4
    Last Post: 06-11-2014, 11:20 AM
  2. Grouping on Report
    By Amber in forum Reports
    Replies: 3
    Last Post: 02-01-2012, 05:48 PM
  3. Grouping a report
    By JAJansenJr in forum Reports
    Replies: 0
    Last Post: 03-01-2011, 11:05 PM
  4. Grouping dual keys in Access 2007 Report
    By bengineer in forum Reports
    Replies: 4
    Last Post: 02-01-2011, 02:09 PM
  5. Access report with 3 tables -grouping,sorting
    By kartechy in forum Reports
    Replies: 0
    Last Post: 07-22-2009, 09:07 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