I want to input all the information in one single form (which I already created).
Does that form use only the 4 fields you describe here?
With that set of fields, I see no way to designate that
The first 100 boxes (named carton 1, 2, 3,……100) has description A. Then from carton 101 to 150 may have description B. Carton 151 to 400 may have description C. Finally, carton 401 to 500 may have description D.
Unless you were prepared to create the first 100 label records, then change the description and create the next 50, etc...
That is possible and simplifies the script, but it is not clear if this is what you plan on doing here.
However you work out those details, you can use global fields (fields with global storage specified in field options) to store the inital information, the description, the initial box number, the number of boxes... and then a script can loop to create the needed label records to suit the info you are specifying.
Thanks for your suggestion. I used "global fields" and make something is working. I am doing good now. But still working on the details. Will let you know once I need your help again!!
Appreicated your reponse. And apologize my late response back to you.