troubleshooting Question

Calculate running total and print 1-up labels in Crystal Reports

Crystal Reports
I have a table that holds the following information:
- TOTAL PIECES (t)
- MAX NUMBER OF PIECES A BOX CAN HOLD (m)

So, let's say a customer orders 5,750 pieces, and a box can hold 2,500
How many boxes will I need?

I can do a simple formula: (t)/(m) = 5750/2500 = 2.3

This means I will need 2 boxes of 2500 and 1 box of 750

I want to write a Crystal Report that can produce three labels for me (the labels have to be one-up since they print from a roll of labels)

The first label should say "Quantity in this box: 2500"
The second label should say "Quantity in this box: 2500"
The third label should say "Quantity in this box: 750"

So in other words, no matter what the quantity is, the report should be able to create the number of labels required - one for each box

How can this be done in Crystal Reports? (I'm using XI)
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.