Firstly: I've a fairly inexperienced access user!
I'm developing a simple stock control database and need to be able to show a total stock for each item.
So far I have two queries, both are grouped by the unique item of stock.
The first query shows how many items of stock we have received. All unique items of stock are always displayed even if there are none in stock.
The second query shows how many items of stock we have issued. The second query only displays unique items of stock where at least 1 has been issued.
I need to subtract the total issued items from the total received items, for each unique stock item. I need to be able to do this even if no items of a stock item have been issued.
E.g. (NULL denotes stock hasn't been issued and therefore does not appear in query 2):
Item Description | Query Value 1 | Query Value 2 | Total
40gb HDD | 20 | 5 | 15
80gb HDD | 3 | NULL | 3
You get the idea :)
Any ideas on the best way to do this without needing to have the issued stock listed as 0 for things which I haven't issued (this would make other reports look messy!)