Results 1 to 2 of 2
  1. #1
    donnan33 is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Dec 2011
    Posts
    52

    setting up a form (calculations)

    I have a main form for the project number, work order, employee etc. I have a subform for the tasks, pay rate, hours, etc. On my subform i have put a text box to get total payrate*hours. Each project/work order can have multiple records in the subform. the employee will use this to enter their hours daily. They can work on multiple tasks to complete the work order for the project. Each task (row) has total at the end. I can't figure how to get the sum total of the calculated column for all the tasks/rows. i either get #name? or using operand without an operator? Can anyone help?

  2. #2
    SoftwareMatters is offline Access VBA Developers
    Windows XP Access 2003
    Join Date
    Mar 2009
    Location
    Dorset
    Posts
    274
    If you want to get the total of a column just put a text box in the footer of the form and in it's control source put something like this:
    =Sum([ControlName])

    NB: Just swap ControlName for the name of the control you are trying to sum.

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

Similar Threads

  1. Performing calculations in the form.
    By mulefeathers in forum Forms
    Replies: 4
    Last Post: 12-07-2011, 10:47 AM
  2. Help with small form calculations
    By Nokia N93 in forum Access
    Replies: 3
    Last Post: 12-06-2011, 06:29 AM
  3. Form/Subform Calculations
    By sidewayzalex in forum Forms
    Replies: 0
    Last Post: 08-15-2011, 01:11 PM
  4. Calculations in a form
    By elmere in forum Forms
    Replies: 3
    Last Post: 04-27-2011, 04:11 PM
  5. Calculations in Form not saving to table
    By ld8732 in forum Forms
    Replies: 1
    Last Post: 01-24-2011, 07:31 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