Results 1 to 2 of 2
  1. #1
    mazamizo567 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2018
    Posts
    1

    Lightbulb totals form different fields with reference

    I have a table of cement shipping document,every shipping document may consists of different coupon number.every coupon number has a quantity and a material description.

    I want to calculate the totals of quantities form different fields depending on the material description form different fields also.



    coupon no 1 101
    Material description 1 OPC
    QNT 1 20
    coupon no 2 102
    Material description 2 SRC
    QNT 2 40
    coupon no 3 103
    Material description 3 OPC
    QNT 3 40

    what i need is a fields to calculate the following.
    so the OPC totals must be 60
    and the SRC totals must be 40
    and the shipment total is 100

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550

    in the report, you would put Group headers and footers on,

    the records should show as:
    coupon, Descr, Qty
    coupon no 1,OPC , 20
    coupon no 3,OPC , 40
    coupon no 2,SRC , 40


    in the MATERIAL footer, put a field, set it to =Sum(Qty)
    same field in the Report footer.

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

Similar Threads

  1. Single string reference for multiple fields
    By PinkLady50 in forum Programming
    Replies: 5
    Last Post: 05-16-2017, 11:38 AM
  2. Totals Query and Empty Fields
    By AccessNub in forum Queries
    Replies: 4
    Last Post: 09-20-2013, 01:27 PM
  3. Replies: 10
    Last Post: 10-24-2012, 02:59 PM
  4. Dynamic fields reference
    By tuna in forum Forms
    Replies: 0
    Last Post: 05-04-2010, 11:47 PM
  5. Wrong reference with .fields in DAO recordset
    By ddd in forum Programming
    Replies: 1
    Last Post: 12-08-2009, 05:34 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