Results 1 to 3 of 3
  1. #1
    Micky is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    22

    Forms and Total Sums

    Hey,
    I'm building a database for Toystore (for my studying).


    My question is: I built a form "Invoice". I used the Form Wizard to create this.
    The thing is that I need to get the total of the invoice and access doesn't allow me to do this in the same form.
    So I thought that it's possible to create another related form and embed the "Total" form into the "Invoice".
    I thought that I succeed but than discovered that because the "Invoice" form is not related to the "Total" so, it doesn't show the total of each invoice but the total of the first invoice only, and than you can navigate.
    Do yo have any suggestions?

    Thanks a lot for helping me.

  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,614
    The thing is that I need to get the total of the invoice and access doesn't allow me to do this in the same form.
    Actually I think this can and usually is done in the same form.
    Create a textbox in the form's footer section.
    Set the texbox's Control Source property to something like:

    =Sum([Put the name of the cotrol that is in the detail section between these square brackets])
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    Micky is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    22
    Hey Bob, I've added an additional post since I didn't know how to attach a file when I reply.
    Please see this: https://www.accessforums.net/showthr...al-sum-example

    Thanks!

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. query that sums the data for me
    By citygov in forum Queries
    Replies: 4
    Last Post: 08-18-2011, 03:25 PM
  3. Incorrect Sums
    By Azyrus in forum Reports
    Replies: 6
    Last Post: 06-26-2011, 04:27 PM
  4. Excessive 'sums'
    By Captain Database ...!! in forum Queries
    Replies: 3
    Last Post: 06-23-2011, 02:37 PM
  5. How do I sum multiple sums?
    By RobRay in forum Reports
    Replies: 6
    Last Post: 11-26-2010, 08:48 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