Results 1 to 3 of 3
  1. #1
    keiath is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2013
    Posts
    162

    Calculating in a form

    I have a subform in columns that has a list of invoices bound together by the site number on the form there is a Expense code that runs 51 to 95.

    on another tab i want to add all the invoices for a expense code together and display the total amount



    Below is an example of invoices


    ID Site Code Invoice Date PO Invoice Contractor Invoice Amount Expense Code
    1 0289S 20/09/2013 34660 3410 Dj Commercial Cleaning Ltd 25.23 62 A
    2 0289S 28/09/2013 34606 1141 Platinum Landscapes 240.00 55 A
    3 0289S 03/09/2013 35311 2021 Clean And Green 167.00 63 A
    4 0289S 02/08/2013 35311 2015 Clean And Green 174.00 63 A
    5 0289S 19/08/2013 11111 5271 Southern Electric 189.56 79 A
    6 0289S 19/08/2013 34606 1121 Platinum Landscapes 240.00 55 A
    7 0289S 02/06/2013 35311 2009 Clean And Green 160.00 63 A
    8 0289S 02/05/2013 35311 2003 Clean And Green 181.00 63 A

    I want it to display on another tab

    51 General Expenses £452.36
    55 Gardens £1523.65

    and so on

    whats the best way to do this?

  2. #2
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    On a different tab, use another sub-form. The recordsource for the sub-form would be a totals query.

  3. #3
    keiath is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2013
    Posts
    162
    Thank you never thought of doing it that way

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

Similar Threads

  1. Replies: 5
    Last Post: 11-27-2012, 10:24 PM
  2. Form Field Not Calculating Properly
    By RMittelman in forum Forms
    Replies: 3
    Last Post: 07-25-2012, 01:05 PM
  3. auto calculating fields within a form
    By softspoken in forum Forms
    Replies: 3
    Last Post: 04-23-2010, 02:04 PM
  4. Calculating null fields in a form
    By chu3w in forum Forms
    Replies: 1
    Last Post: 02-26-2010, 02:00 PM
  5. Form calculating troubles
    By Ufalufa in forum Access
    Replies: 0
    Last Post: 11-27-2007, 10:36 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