Results 1 to 2 of 2
  1. #1
    Njliven is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2012
    Posts
    86

    Running Total on Form with Subform


    Like to know if this is possible. I have a main form that show the initial price of a job. Then a subform that list all the change orders for that job with those prices. Can I put a calculated field on the main form that add the beginning price and all the change orders from the sub form.

    I tried putting this formula in text box =[total].[tbl_PROJECTS]+[$ Amount].[tbl_PROJ_CO] the field only shows #Name? like it is not recognizing the table and field names. Any suggestions.

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,610
    Try this:
    Create a textbox in the Form Footer of the sub form. Set its Control source property to =Sum(NameOfFieldToSum). Set its Name property to: SFTotal
    Create a textbox on the main form. Set its Control source property to: Forms![main form name]![subform control name].Form![SFTotal] + [NameOfControlOnMainFormToBeAdded]
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

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

Similar Threads

  1. How do I create a running total
    By dniezby in forum Access
    Replies: 5
    Last Post: 04-13-2013, 11:42 AM
  2. Replies: 2
    Last Post: 12-05-2012, 02:41 PM
  3. Running Total Query??
    By kwooten in forum Queries
    Replies: 8
    Last Post: 06-15-2012, 06:10 AM
  4. Running total
    By lololthis in forum Queries
    Replies: 5
    Last Post: 06-21-2011, 04:14 PM
  5. Running Total in Subform
    By Scorpio11 in forum Forms
    Replies: 19
    Last Post: 07-03-2010, 05:44 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