Results 1 to 3 of 3
  1. #1
    rgaito is offline Novice
    Windows 8 Access 2013
    Join Date
    Nov 2015
    Posts
    1

    Purchase Requsition Subform Subtotal Calculation


    I am using Access 2013 to create a purchase requisition (PR) form. The PR has a continuous subform [sfrmPurchaseRequisitionDetails1] which has fields of [Quantity], [UnitPrice], [txtExtendedPrice] and [SubTotal]. The [txtExtendedPrice] field is a calculation of =[Quantity]*[UnitPrice] and it works fine. The subform will contain multiply records with extended prices. I am unable to calculate a total of all of the [txtExtendedPrice] field. I have tried =sum[txtExtendedPrice], =[txtExtendedPrice] without success and have been unable to locate an answer in forums. Any help provided is greatly appreciated.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    you can put a field in the form or subform that is
    =DSUM([extPrice], "qsQuery", "[pr]=" & forms!frmPR!txtPR)

  3. #3
    NTC is offline VIP
    Windows 7 64bit Access 2013
    Join Date
    Nov 2009
    Posts
    2,392
    you must build an exterior query as R256 advises....or....... modify your table so that extended price is a field, not unbound - and write the value into that field......then you can sum it in the footer of the form object....

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

Similar Threads

  1. Value of Subtotal from Subform Changes
    By GregShah in forum Forms
    Replies: 4
    Last Post: 08-12-2015, 11:40 AM
  2. Display subtotal from subform in main form
    By dougdrex in forum Forms
    Replies: 5
    Last Post: 11-12-2014, 03:25 PM
  3. Replies: 4
    Last Post: 02-04-2012, 12:51 PM
  4. Replies: 0
    Last Post: 07-15-2010, 12:32 PM
  5. Replies: 25
    Last Post: 03-31-2010, 11:10 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