Results 1 to 4 of 4
  1. #1
    rmohebian is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2011
    Posts
    16

    Displaying a total textbox in a subform

    Hello,
    I have a form which displays student information and displays the deposited cheques in a subform for each student.
    I am having problems displaying the total of one field inside my subform.


    The query that I used for my subform consists of a cheque table.
    The field inside my cheque table is as follows (cheque no, cheque date, notes and amount).
    I want to total the amount of cheques for each student to show up in the bottom of my subform.
    how can I do this?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    In the form footer, try

    =Sum(Amount)
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    rmohebian is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2011
    Posts
    16
    I have tried that, but i get a #error result
    any other suggestions

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Make sure "Amount" is the name of the field in your data. You might also check that there are no textboxes that have the same name (which is exactly what the wizard will do). That will sometimes cause problems.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 9
    Last Post: 01-21-2011, 03:57 PM
  2. Replies: 6
    Last Post: 09-02-2010, 02:18 AM
  3. Running Total in Subform
    By Scorpio11 in forum Forms
    Replies: 19
    Last Post: 07-03-2010, 05:44 PM
  4. Replies: 1
    Last Post: 02-04-2010, 01:15 PM
  5. total in textbox
    By micfly in forum Access
    Replies: 3
    Last Post: 11-09-2008, 11:24 AM

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