Options

print Lot No.(multiple Lot No in case of Delivery challan from two different Lot ).

mdsrmdsr Member Posts: 163
I want multiple Lot No in case of Delivery challan from two different Lot in report
but following code gives me output like
LOT11LOT11LOT11LOT11LOT11LOT55LOT55
i want output like
LOT11 LOT55 thats only
can anyone help to solve problems

RecILE.RESET;
RecILE.SETRANGE(RecILE."Item No.","Delivery Challan Line"."Item No.");
RecILE.SETRANGE(RecILE."Document No.","Delivery Challan Line"."Production Order No.");
IF RecItem.FINDFIRST THEN
BEGIN
REPEAT
LotNoVar:=LotNoVar+RecILE."Lot No.";
UNTIL RecILE.NEXT=0;
END


thanks in advance.
Sign In or Register to comment.