Results 1 to 8 of 8
  1. #1
    CT_AccessHelp is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Posts
    40

    Calculating sums by type

    I have a form that I would like to have a running sum by the type of data entered (Fund_Type). Is there an easy way to do this. I would like it to store in the value Running_Sum field.



    Yall are the best - Thanks soooo much for the help!

    Click image for larger version. 

Name:	frm_AllotSTO.png 
Views:	13 
Size:	90.8 KB 
ID:	14639

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    This is not easy to do in forms. Forms were not intended for this sort of data manipulation. Bing: access running sum in form

    http://support.microsoft.com/kb/290136

    http://www.tek-tips.com/faqs.cfm?fid=5248

    http://support.microsoft.com/kb/210338

    Textbox in report has a RunningSum property. Also, records in reports can be grouped and running sums calculated within each group.
    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
    CT_AccessHelp is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Posts
    40
    I was going to put a subform on the form to dispay a query that queries and sums by fund_type but it will not let me keep the the continuous form view when I add the subform and I need to keep the form continuous.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Then you might find this of interest http://www.fmsinc.com/MicrosoftAcces...edSubforms.asp
    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
    CT_AccessHelp is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Posts
    40
    I was able to make the form I was working with continuous by making both forms subforms under one form. Now I am trying to figure out how to make the query subform update when an entry is made.

    Click image for larger version. 

Name:	FRM1.png 
Views:	8 
Size:	29.0 KB 
ID:	14693

  6. #6
    CT_AccessHelp is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Posts
    40
    Ok - Update - I found a code the works and the query is updating when i add or update a record on the State_Allots_subform however, the query does not update when I delete a record on State_Allots_subform - Any Ideas?


    Click image for larger version. 

Name:	frm1.jpg 
Views:	8 
Size:	90.5 KB 
ID:	14694

  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,771
    You are deleting with the keyboard DELETE?

    Try code in the After Del Confirm event to requery the form.
    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
    CT_AccessHelp is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Posts
    40
    AWESOME - It Worked! Thank you!

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

Similar Threads

  1. Sum of Sums?
    By Chameleon in forum Reports
    Replies: 1
    Last Post: 03-14-2012, 06:32 PM
  2. Incorrect Sums
    By Azyrus in forum Reports
    Replies: 6
    Last Post: 06-26-2011, 04:27 PM
  3. Excessive 'sums'
    By Captain Database ...!! in forum Queries
    Replies: 3
    Last Post: 06-23-2011, 02:37 PM
  4. Replies: 2
    Last Post: 03-18-2010, 08:24 PM
  5. calculating sums in reports
    By Hannu in forum Reports
    Replies: 1
    Last Post: 03-12-2009, 02:59 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