Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Reports XI Labels

Status
Not open for further replies.

lakshhari

IS-IT--Management
Sep 29, 2008
6
US
Hi,

I'm new to Crystal XI and I have a need wherein I am accessing a date field from a table and I want this date to be printed as labels based on the number of copies that the user enters as a parameter. Sometimes they may just need 10 labels and sometimes maybe 2000.

Is there a way to do this using the Mail label wizard. I checked the forums here but couldnt find anything that matched my requirement.

I'd appreciate some tips to do this.

Thanks!
 
I think the only method is to have the detail line repeated several times, suppressing the higher occurences based on the parameter. I've not used the Mail wizard.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
i tried that and it is cumbersome. I would like to use the Mail label Wizard out of crystal to do this. If anyone has any idea how to do this, please reply.

Thanks!
 
It is not possible with the mail wizard to get X number of labels. Your report needs to purposely create row inflation as Madawc says, then you conditionally suppress labels based on the recordnumber>{?NoOfLabels}

It is not cumbersome, if you already have the label you can do the rest in 5 minutes.

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports

"What version of URGENT!!! are you using?
 
Thanks Madawc and dgillz.

I'll try that again.
 
There is another solution using a Counter table.
You need a table in your report with a single numberic field with values of 1,2,3,4,.... up to as many as you would ever need.
Put the table in your report, but DONT join it in. Select from that counter table for {Counter.Key} <= {?No of Labels}
That will join to multiple records, create a cartesian join, which normally isn't allowed, but will create the number of labels you need.
I've used the same table in a similar way with a <= join to a record with a lable count field. That will create different numbers of lables for each master record.

Editor and Publisher of Crystal Clear
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top