Results 1 to 2 of 2
  1. #1
    Burhanuddin is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2020
    Posts
    1

    How to Create Total Of Only Each Field In Table


    like i have created table nd field are product name , product opening qty,total purchase,total sales,
    now i have to do that in my 1st product which i have do purchase entry of that of qty 20 then automatically show in Field (Total Purchase In Front Of ProduCT nAME)

  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 query Q1 get the sums:
    select prod,TotalQtySold: Sum(Qty),TotalAmtSold: Sum(AmtPd) from tData between date1 and date2

    in query Q2, use the tData table and Q1 joined on Product code:
    select tData.Prod, tData.OpenQty , Q1.TotalQtySold, Q1.TotalAmtSold from Q1,tData where Q1.Prod = tData.Prod

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

Similar Threads

  1. Replies: 3
    Last Post: 10-23-2018, 12:06 PM
  2. Replies: 3
    Last Post: 09-23-2017, 08:16 AM
  3. Replies: 2
    Last Post: 08-23-2016, 11:58 AM
  4. Replies: 1
    Last Post: 06-12-2015, 12:03 AM
  5. Replies: 3
    Last Post: 01-18-2015, 06:05 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