Results 1 to 5 of 5
  1. #1
    queenbean84 is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    Jun 2016
    Posts
    4

    Question Form Subtotals & Grand Total

    I am new to designing forms in Access. For the attached form, I have two tables, one for the header info at the top and another for the detail. I want to add the fields for sales tax, shipping, and total at the bottom. Which table should these fields be in? Do they need to be in both tables? Also, I'd like to add a total line below the purchase order detail items. How do I do that?


    Click image for larger version. 

Name:	Capture.JPG 
Views:	12 
Size:	88.0 KB 
ID:	25066

  2. #2
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,845
    How do I add a total line here?
    change the subform to a continuous form, not a datasheet and put the totals in the form footer

    In what table do I put these fields?
    shipping - in the purchase order table (it is only applied once).
    Tax Paid - in the purchase detail table (tax is calculated on each row) On the main form it is an unbound control which sums the tax paid calculated on the subform
    Total Purchase - not stored in any table but calculated as required (sums the subform plus shipping)

  3. #3
    queenbean84 is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    Jun 2016
    Posts
    4
    Thank you, I'll do that!

  4. #4
    queenbean84 is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    Jun 2016
    Posts
    4
    If I change the subform to a continuous form, will I be able to add more than one product?

  5. #5
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,845
    yes - just line your controls up in a single row with the labels over them in the header section.

    If you are not sure, use the wizard to create a continuous form (it is also called a multiple items form) Create>More Forms>Muliple items

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

Similar Threads

  1. Grand total on grouped report?
    By dmon2010 in forum Reports
    Replies: 1
    Last Post: 02-26-2015, 02:02 PM
  2. How to Calculate this Grand Total
    By TWD in forum Reports
    Replies: 2
    Last Post: 01-13-2012, 11:36 AM
  3. Grand Total Field ???
    By damo1995 in forum Forms
    Replies: 6
    Last Post: 02-10-2011, 02:43 PM
  4. Grand total of field on a subreport
    By degras in forum Reports
    Replies: 9
    Last Post: 02-03-2011, 12:09 PM
  5. :?: newbie...grand total?
    By PnerraD in forum Access
    Replies: 1
    Last Post: 08-24-2006, 06:28 PM

Tags for this Thread

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