Hello All,
The problem is that I have multiple detail level tables selected, I need to use these tables to calculate and display data. There is an old post in this forum which deals with the displaying part. It uses subreports to display all the data at once so that way multiple tables are not joined together.
This old post ->>
But I have this situation where I need to calculate the difference between 3 child tables in addition to displaying them and for that I need a solution other than the one in the link above. This is for a garment factory and here is how it goes:
There are items in the item table, then there is a order table, cutting table, checking table and packing table. All these tables have itemid's and quantities.
I need to create a size-wise crosstab where i can calculate the difference between order and cutting, order and packing, cutting and checking.
I've attached the image showing this problem.
As you can see here, it works great till order and cutting, then it goes all Cartesian on me when i add the checking table. If I uncheck 'Select distinct records' the checking section will show the correct values but the rest of them will multiply and show very large values.
Hope I can get some help on this. Thank you all.