Results 1 to 3 of 3
  1. #1
    russmann2000 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2017
    Posts
    9

    Sum a column in a query and display results in a text box.

    Hoping I can get some help here. I'm attempting to get the sum of all the values in a column of a query, and display those results in a textbox on a report. This seems like such a simple thing to do but I cannot for the life of me get it to work.

    Thank you in advance, I'm a bit of a novice.

  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
    Could use domain aggregate DSum() expression in textbox.

    Otherwise, set the query as the RecordSource of report and use Sum() expression in 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.

  3. #3
    russmann2000 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2017
    Posts
    9
    I figured it out not long after I posted this. Ended up using DSum.

    Thanks for the reply

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

Similar Threads

  1. Replies: 1
    Last Post: 06-09-2014, 09:30 AM
  2. Replies: 3
    Last Post: 05-02-2013, 10:36 AM
  3. Replies: 1
    Last Post: 01-10-2012, 12:06 AM
  4. Display QUERY results into SUB FORM
    By taimysho0 in forum Programming
    Replies: 9
    Last Post: 11-23-2011, 12:26 PM
  5. Display Query Results on a Form
    By P5C768 in forum Queries
    Replies: 5
    Last Post: 05-04-2010, 11:04 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