Hi to all,
I am happy to be part of the Access comunity now =) But I am at a point where intensive google approaches coul not help me out any more. I am sure, that this task is not that hard, but it is juts hard to google for this specific problem. Thats why I am asking you for help now.
In my database, there is a table wich lists all orders which looks like this:
Orders
Date warehouse ProductID QTY 01.01.2016 1 1 20 03.01.2016 1 1 30 04.01.2016 1 2 22 ... ... ... ...
There are several warehouses and products. all products can be ordered in all warehouses. I want to know the damand data for every day in every warehouse for every product.
Therefore I need to create a querie which create new tuples for each day whithout demand in any warehouse and fills up the demand for that day with "0".
The output schould look like this:
Demand
Date warehouse ProductID QTY 01.01.2016 1 1 20 02.01.2016 1 1 0 03.01.2016 1 1 30 04.01.2016 1 1 0 ... ... 01.01.2016 1 2 0 02.01.2016 1 2 0 03.01.2016 1 2 0 04.01.2016 1 2 22
Do you have any idea to realise a querie like this?
Thank You!
Bobo