G
Guest
I have a fairly simple question, logically the answer is straightforward, but
I am not an Access wiz so the solution eludes me. I have an inventory control
database of the following format:
I have a range of products (ItemCode) of which we make many batches
(BatchNumber). I then perform transactions on each batch (for example we make
400 units of ItemCode Y, BatchNumber Z, and then later in the week we
despatch 200 units of the same BatchNumber Z of ItemCode Y. We then despatch
another 100 units of the same BatchNumber Z of ItemCode Y the following week,
etc.)
I have a report which shows each batch of each product and the number of
units currently on hand. The number of units on hand is calculated from the
difference between the sum of UnitsProduced and the sum of the
UnitsDespatched. When the number of units on hand gets to 0, I do not want
the batch to be displayed on the report, I only want the report to show
batches where there are units on hand.
Logically I need: If Units on Hand > 0 then display the batch number and
number of units on hand in the report. My report is grouped by products
(ItemCode), so I get a report with the products as the first heading, with
the batch numbers and units on hand displayed for each product.
I would be happy to share my code.
Any help would be appreciated
Andrew
I am not an Access wiz so the solution eludes me. I have an inventory control
database of the following format:
I have a range of products (ItemCode) of which we make many batches
(BatchNumber). I then perform transactions on each batch (for example we make
400 units of ItemCode Y, BatchNumber Z, and then later in the week we
despatch 200 units of the same BatchNumber Z of ItemCode Y. We then despatch
another 100 units of the same BatchNumber Z of ItemCode Y the following week,
etc.)
I have a report which shows each batch of each product and the number of
units currently on hand. The number of units on hand is calculated from the
difference between the sum of UnitsProduced and the sum of the
UnitsDespatched. When the number of units on hand gets to 0, I do not want
the batch to be displayed on the report, I only want the report to show
batches where there are units on hand.
Logically I need: If Units on Hand > 0 then display the batch number and
number of units on hand in the report. My report is grouped by products
(ItemCode), so I get a report with the products as the first heading, with
the batch numbers and units on hand displayed for each product.
I would be happy to share my code.
Any help would be appreciated
Andrew