Results 1 to 5 of 5
  1. #1
    smc678 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    65

    How to get a total sum in a qurey to be on a report?

    I have a query that is a total sum. I need that number to be on a report...

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,645
    Options:

    1. use Sum function in textbox in report or group header/footer section to summarize records of the Detail section

    2. domain aggregate function (DSum, DLookup, etc)

    3. include in the report RecordSource

    4. subreport
    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
    smc678 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    65
    error? =DSum([SumOfTotal],[qryaQFFTotalRgis]![SumOfTotal])

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,645
    Enclose each argument in quote marks.

    =DSum("fieldname with data to sum","table or query name","filter criteria here if needed")
    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
    smc678 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    65
    Fixed!!!!!! Thank you thank you

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

Similar Threads

  1. Total in a report
    By jenncivello in forum Reports
    Replies: 2
    Last Post: 07-19-2012, 12:49 PM
  2. Replies: 8
    Last Post: 01-29-2012, 12:50 PM
  3. Hot to set Password for Access 2007 Qurey
    By nizam in forum Queries
    Replies: 1
    Last Post: 12-23-2011, 03:01 AM
  4. Replies: 1
    Last Post: 06-29-2010, 03:40 AM
  5. Qurey on two ODBC Tables Strange behaviour
    By tingletangle in forum Queries
    Replies: 1
    Last Post: 01-14-2010, 03:40 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