Hi All, I am kind of stuck on finalize a crucial report in MS Access..... and tried to Google it as well but didn’t find any useful solution....
I will try to explain it with an example...
Lets Say i have a Table in Access with below data:
Table 1:
[TABLE="width: 218"]
<tbody>[TR]
[TD]Material
[/TD]
[TD]Description
[/TD]
[TD]Qty
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]AXYZ
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]BXYZ
[/TD]
[TD]10
[/TD]
[/TR]
</tbody>[/TABLE]
and its linked with below table of deliveries... with Field "Material"
[TABLE="width: 255"]
<tbody>[TR]
[TD]Delivery
[/TD]
[TD]Material
[/TD]
[TD]Delivered Qty
[/TD]
[/TR]
[TR]
[TD]Del100
[/TD]
[TD]A
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]Del100
[/TD]
[TD]B
[/TD]
[TD]8
[/TD]
[/TR]
[TR]
[TD]Del200
[/TD]
[TD]A
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]Del200
[/TD]
[TD]B
[/TD]
[TD]6
[/TD]
[/TR]
</tbody>[/TABLE]
Now while creating a query on both tables with Ordered qty and Delivered Qty, results are displayed as below...
[TABLE="width: 384"]
<tbody>[TR]
[TD]Material
[/TD]
[TD]Delivery
[/TD]
[TD]Order Qty
[/TD]
[TD]Delivered Qty
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]Del100
[/TD]
[TD]5
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]Del200
[/TD]
[TD]5
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]Del100
[/TD]
[TD]10
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]Del200
[/TD]
[TD]10
[/TD]
[TD]6
[/TD]
[/TR]
</tbody>[/TABLE]
i want to avoid repetition in Order Qty column in final output as it gives a wrong image of order qty to be double or multiples of No. of Deliveries.
I will try to explain it with an example...
Lets Say i have a Table in Access with below data:
Table 1:
[TABLE="width: 218"]
<tbody>[TR]
[TD]Material
[/TD]
[TD]Description
[/TD]
[TD]Qty
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]AXYZ
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]BXYZ
[/TD]
[TD]10
[/TD]
[/TR]
</tbody>[/TABLE]
and its linked with below table of deliveries... with Field "Material"
[TABLE="width: 255"]
<tbody>[TR]
[TD]Delivery
[/TD]
[TD]Material
[/TD]
[TD]Delivered Qty
[/TD]
[/TR]
[TR]
[TD]Del100
[/TD]
[TD]A
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]Del100
[/TD]
[TD]B
[/TD]
[TD]8
[/TD]
[/TR]
[TR]
[TD]Del200
[/TD]
[TD]A
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]Del200
[/TD]
[TD]B
[/TD]
[TD]6
[/TD]
[/TR]
</tbody>[/TABLE]
Now while creating a query on both tables with Ordered qty and Delivered Qty, results are displayed as below...
[TABLE="width: 384"]
<tbody>[TR]
[TD]Material
[/TD]
[TD]Delivery
[/TD]
[TD]Order Qty
[/TD]
[TD]Delivered Qty
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]Del100
[/TD]
[TD]5
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]Del200
[/TD]
[TD]5
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]Del100
[/TD]
[TD]10
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]Del200
[/TD]
[TD]10
[/TD]
[TD]6
[/TD]
[/TR]
</tbody>[/TABLE]
i want to avoid repetition in Order Qty column in final output as it gives a wrong image of order qty to be double or multiples of No. of Deliveries.