Hi
I have a report that in the header I have the Item and the Lot. For each record that the item AND lot are the same I should have a detail section link to it.
The problem is that when I print my report I have Full of data that I shouldn't have in the detail section as it doesn't correspond to the header section (item and lot). I tried to group by item and that seems to work when I have only one lot by item (because I can have as many lot as I want for an item). But when I gonna have more than one lot for an item it will print every data for an item without considering the lot. It shouldn't work this way because the key for my data supposed to be the item and the lot. I don't know if it's my StoredProcedure that isn't okay or my report that I should group by item and by lot and make a "New page after the lot group".
Can somebody tell me how can I solve it?
I have a report that in the header I have the Item and the Lot. For each record that the item AND lot are the same I should have a detail section link to it.
The problem is that when I print my report I have Full of data that I shouldn't have in the detail section as it doesn't correspond to the header section (item and lot). I tried to group by item and that seems to work when I have only one lot by item (because I can have as many lot as I want for an item). But when I gonna have more than one lot for an item it will print every data for an item without considering the lot. It shouldn't work this way because the key for my data supposed to be the item and the lot. I don't know if it's my StoredProcedure that isn't okay or my report that I should group by item and by lot and make a "New page after the lot group".
Can somebody tell me how can I solve it?