- Total Members: 220,034
- Threads: 525,390
- Posts: 977,005
-
November 8th, 2012, 03:14 PM
#1
Simple Access Question, Need Help.
I'm designing a database for an online ebay store and I've come across a problem. I have a query that lists how much inventory I have on hand, however I don't know how to add up separate records of the same item. I have provided a picture of my query to help explain my problem, http://i.imgur.com/P3P0N.jpg . From the image you can see that the first 2 records are the same item purchased on different dates. How do I add up those 2 items into one record for easy inventory keeping?
-
November 9th, 2012, 03:14 PM
#2
That would be an aggregate (GROUP BY) query. Query in design view, click the Totals button. Will have to remove the ID and date fields from the query and set GROUP BY under ItemName field and Sum under Quantity.
Or build a report using Grouping & Sorting with aggregate calcs functionality. This will allow display of detail records and summary data.
Similar Threads
-
By ProEdge in forum .NET Development
Replies: 3
Last Post: September 29th, 2004, 09:21 AM
-
By Phearox in forum ASP Development
Replies: 2
Last Post: August 15th, 2004, 05:28 PM
-
By lycaeum in forum Microsoft Access Help
Replies: 4
Last Post: August 6th, 2004, 01:37 PM
-
By Mir72 in forum Microsoft Access Help
Replies: 2
Last Post: May 26th, 2004, 08:53 AM
-
By mrossnagel in forum ASP Development
Replies: 2
Last Post: March 16th, 2004, 01:29 PM