Results 1 to 8 of 8
  1. #1
    jamesc is offline Novice
    Windows 8 Access 2016
    Join Date
    Dec 2017
    Posts
    4

    Unhappy Summary of Total's for each person at Report Footer

    Hi Folks,

    I'm having an issue with an access report that I have created. Basically my table consists of fields including "Sales Rep", "Quote No" and "Quote Amount". Each Sale's Rep will have multiple quotations along with quote amounts. I want my report to be able to produce a summary at the report footer detailing the total amount of quote's for EACH Sale's Rep. Lets say for example the table shows data as such :



    James Quote no: 123 Quote amount: £1000
    Kevin Quote no: 456 Quote amount: £2000
    Mark Quote no: 789 Quote amount: £3000
    Mark Quote no: 234 Quote amount: £4000
    James Quote no: 765 Quote amount: £5000
    Kevin Quote no: 877 Quote amount: £6000
    James Quote no: 334 Quote amount: £7000
    Kevin Quote no: 985 Quote amount: £8000
    Mark Quote no: 335 Quote amount: £9000

    I want my report footer to look something like this:

    Total Quote amounts for James: £13,000
    Total Quote amounts for Kevin: £17,000
    Total Quote amounts for Mark: £16,000

    Any help would be gladly appreciated, Ive been trying various things for days and just cannot find the solution.
    Thanks Guys!!

    James

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    I'd probably use a subreport based on a totals query.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Try this query:
    SELECT SalesRep,SUM(QuoteAmount) as TotalQuote
    FROM YourTableName
    Group by SalesRep;

    Lots of info re SQL queries etc here

  4. #4
    jamesc is offline Novice
    Windows 8 Access 2016
    Join Date
    Dec 2017
    Posts
    4
    I'm not too familiar with Sub-reporting or queries for that matter, could you show an example if possible please?
    I apologise I'm a real dummy at this. My table looks as follows:
    Click image for larger version. 

Name:	Capture1.PNG 
Views:	8 
Size:	35.2 KB 
ID:	31674

  5. #5
    jamesc is offline Novice
    Windows 8 Access 2016
    Join Date
    Dec 2017
    Posts
    4
    is it possible to use the DSUM function for this?

  6. #6
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Orange gave you the fish. Yes, you could use DSum(), but it would less dynamic.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  7. #7
    jamesc is offline Novice
    Windows 8 Access 2016
    Join Date
    Dec 2017
    Posts
    4
    would this be the correct syntax for DSUM?

    =DSUM("Quote Amount","trial","Sales Rep = AB") ?

    I appreciate the replies guys but I'm really unfamiliar with queries , especially getting one to produce a summary at the bottom of a report.

  8. #8
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Formatting a Summary in a report footer
    By JohnDawkins in forum Reports
    Replies: 6
    Last Post: 05-14-2017, 05:35 AM
  2. Replies: 1
    Last Post: 10-14-2016, 07:00 AM
  3. Multiple summary total in a report
    By vnms2001 in forum Access
    Replies: 3
    Last Post: 05-19-2015, 12:02 PM
  4. Replies: 9
    Last Post: 02-18-2015, 01:15 PM
  5. Replies: 26
    Last Post: 11-06-2009, 10:16 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