Solved

Need to increment a running count

Posted on 2008-10-30
2
1,241 Views
Last Modified: 2013-11-15
Our Service Deparment uses a labeling system to ship defective parts back to the vendor. The "basics" of the labels stay the same - part number, part description and "X of Y" (where X is an incrementing number up to the value of Y which is the total number of identical parts being returned). The quantity they return may be different from that in the original order so it is not as easy as pulling the qty from the order.  Their label use, for example, is this: out of an order of 10, 6 of the parts are defective and need to be returned. They would want a label for each of the 6 parts so the labels would pull the order details into Crystal and then print the same label 6 times, and use the incrementing X of Y until it gets up to 6. The Crystal Report would require them to input the "single" order number and order line, therefore only returning one record.

With Crystal returning only one record, is it possible to increment to print count until it reaches "Y"? If so, how is it done?
0
Comment
Question by:fselliott
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 500 total points
ID: 22841971
In my opinion, the simplest way to handle this is to have a pre-built table which has just one column containing :
1 record holding value 1
2 records holding value 2
3 records holding value 3 and so on.

Add this table to your report and link the field that holds label quantity required to it.
This will create the required number of records in CR and you can then just print one label per record.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 22851619
I agree.  That is the standard method for creating N labels for a specific record.

mlmcc
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, In my previous Article  (http://www.experts-exchange.com/Database/Reporting/A_15199-Introduction-to-Microstrategy.html)I discussed some basic understanding of Microstrategy that how we can get in Intro of Microstrategy (MSTR). Now it's tim…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Suggested Courses

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question