I have an Access 2000 database and wish to set up a query which will do the following :
I have an ITEMS table which contains the following fields : ID, ITEMNAME, STARTINGSTOCK, MINIMUMSTOCK
A second table contains my purchases of this item. The table would be : ITEMSPURCHASED with fields : PURCHASEID, ITEMID (same as in ITEMS table), QUANTITYBOUGHT.
A third table contains my issued items. The table would be : ITEMSISSUED with fields : ISSUEID, ITEMID (as in ITEMS table, QUANTITYISSUED.
I now wish to make a query to find out how many items are in stock and more specifically the items which are below minimum stock levels like in :
Look at what the starting stock is, add the sum of the purchases, subtract the sum of the stock issued, compare the present quantity in stock with the minimum stock level and show me the items below minimum stock levels in order of deficiency i.o.w. starting the schedule with the highest stock deficiency
Sorry for the tall order but this is beyond my knowlegde/ability and you guys have helped me everytime in the past
Thanks
fordtran
I have an ITEMS table which contains the following fields : ID, ITEMNAME, STARTINGSTOCK, MINIMUMSTOCK
A second table contains my purchases of this item. The table would be : ITEMSPURCHASED with fields : PURCHASEID, ITEMID (same as in ITEMS table), QUANTITYBOUGHT.
A third table contains my issued items. The table would be : ITEMSISSUED with fields : ISSUEID, ITEMID (as in ITEMS table, QUANTITYISSUED.
I now wish to make a query to find out how many items are in stock and more specifically the items which are below minimum stock levels like in :
Look at what the starting stock is, add the sum of the purchases, subtract the sum of the stock issued, compare the present quantity in stock with the minimum stock level and show me the items below minimum stock levels in order of deficiency i.o.w. starting the schedule with the highest stock deficiency
Sorry for the tall order but this is beyond my knowlegde/ability and you guys have helped me everytime in the past
Thanks
fordtran