Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    Emmanuel is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2020
    Posts
    272

    Totals don’t display on subform

    I have a form which has a subform too.


    The form has fields called “Date”, “Particulars” and “amount.” that displays for the subform.

    For one reason or the other, when I use the sum, “Total” will be displayed at the buttom of the subform but the sum of all figures in “amount” doesn’t display.

    Instead, max, min, average and other functions work perfectly.

    I once created a form which I used to display the sum of the amount.
    Have created several forms using the same form. But can’t understand why this particular one isn’t working.

    Is there something am missing?
    Any suggestions will be highly appreciated

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,614
    Can you post a copy of the db
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    Emmanuel is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2020
    Posts
    272
    W
    Quote Originally Posted by Bob Fitz View Post
    Can you post a copy of the db
    Am kind of not close to my pc now.
    Maybe will have to do that when I do

  4. #4
    Emmanuel is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2020
    Posts
    272
    Can someone guide me on how to upload here?

  5. #5
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    Quote Originally Posted by Emmanuel View Post
    Can someone guide me on how to upload here?
    Hit reply or reply with quote, then Go Advanced button, then the Manage Attachments button.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  6. #6
    Micron is online now Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    See "How to Attach Files" at the very top of the page.
    You might need to use DSum with criteria, not sum.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  7. #7
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    Quote Originally Posted by Micron View Post
    See "How to Attach Files" at the very top of the page.
    Doh !, why didn't I think of that?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  8. #8
    Emmanuel is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2020
    Posts
    272

    File

    Quote Originally Posted by Emmanuel View Post
    W

    Am kind of not close to my pc now.
    Maybe will have to do that when I do
    please find attached copy of the database
    Attached Files Attached Files

  9. #9
    Emmanuel is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2020
    Posts
    272
    Once I search the data using the search button, I want the totals of the data displayed below it in the totals section

  10. #10
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,250
    Which form? You don't seem to have a totals section...
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  11. #11
    Emmanuel is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2020
    Posts
    272
    Quote Originally Posted by Gicu View Post
    Which form? You don't seem to have a totals section...
    The forms in the db
    There is a totals below it

  12. #12
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,614
    They are both "Split" forms. I don't use them.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  13. #13
    Emmanuel is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2020
    Posts
    272
    Quote Originally Posted by Bob Fitz View Post
    They are both "Split" forms. I don't use them.
    Alright
    Noted

  14. #14
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    Too late for me on 2007 as well.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  15. #15
    Micron is online now Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    Had it working for a moment by taking the format off of the table field IMPREST and leaving it on the form control. Stopped working for some reason.
    Now I've altered the form so much I'd have to start over, but I did get a sum with a calculated textbox, control source of =DSum("[IMPREST]","[IMPREST]").
    Usually I copy a form first, but this time I didn't.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 05-21-2020, 01:35 PM
  2. Replies: 3
    Last Post: 05-31-2016, 10:33 AM
  3. How to display totals at bottom of query or report
    By Access_Novice in forum Access
    Replies: 1
    Last Post: 09-12-2014, 12:58 AM
  4. Display and sum different totals
    By shabbaranks in forum Reports
    Replies: 1
    Last Post: 01-08-2012, 07:01 PM
  5. Replies: 1
    Last Post: 08-10-2011, 01:48 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