Good morning,
I am having a bit of an issue with a MS Access Database that I have created.
I have a table with the following fields: ID (Primary Key), Date, Entered By, Item ID,Transaction Detail, Warehouse Location, Units Received, Units Dispatched, Units Disposed Of. To track inventory movements.
Warehouse location is only entered for Units Received which could be of Transaction Detail: "Opening Stock" or "Transferred To Warehouse". When stocks are entered as either of these types, a Warehouse Location is entered.
I would like to run a query to give me the last known Warehouse Location for each item (i.e. no null values). This doesn't seem to be a simple "is not null" query and I have been battling with it for a few days now. I can either get only items who's last transaction includes a warehouse value or I get multiple warehouse locations per item.
Please help, this is driving me mad!
I am having a bit of an issue with a MS Access Database that I have created.
I have a table with the following fields: ID (Primary Key), Date, Entered By, Item ID,Transaction Detail, Warehouse Location, Units Received, Units Dispatched, Units Disposed Of. To track inventory movements.
Warehouse location is only entered for Units Received which could be of Transaction Detail: "Opening Stock" or "Transferred To Warehouse". When stocks are entered as either of these types, a Warehouse Location is entered.
I would like to run a query to give me the last known Warehouse Location for each item (i.e. no null values). This doesn't seem to be a simple "is not null" query and I have been battling with it for a few days now. I can either get only items who's last transaction includes a warehouse value or I get multiple warehouse locations per item.
Please help, this is driving me mad!