Hi, Instead of giving BinCount<5 as mentioned in the link which i mentioned above, you will need to declare an integer variable say 'n' which will count the no of production order lines after getting the current record using setrange. You need to code for this. Now you need to change the code mentioned in the link to the below: If BinCount<n then begin //same as the link end;
↧