INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Label printing -- printed quantity of each label based on field data....

Label printing -- printed quantity of each label based on field data....

(OP)
I created mailing labels to be used as labeling for special order products. I need the number of each label to print to be based on the quantity of a field in my data. I found this thread ( http://www.tek-tips.com/faqs.cfm?fid=3227 ) but am a novice to Crystal Reports and do not understand where to begin with creating a table. I cannot find where in Crystal Reports that I can create a table.

I am using Crystal Reports 11

Thanks!

RE: Label printing -- printed quantity of each label based on field data....

You can create the table in Excel. Label a column, e.g., "#" and then use the fill function to create a numeric series in the column, 1- 20 for example. Then do a >= join, "enforce both", FROM your {table.qty} field TO the Excel {table.#}.

-LB

RE: Label printing -- printed quantity of each label based on field data....

I’m not sure what the issue is—whether you are using the wrong driver for the Excel spreadsheet or there is a logon required for security reasons. Maybe someone else can jump in on that issue.

Alternatively, if you have a table of any type within the primary database you are using that has consecutive numbers, you can use that table instead of an Excel spreadsheet.

If the numbers don’t start at one, but instead for example, 1023, you can add the table in a command and create a field within the command that translates the ID field by subtracting, e.g., 1022 from it. Then use that as your linking field when you add the command to the report.

-LB

RE: Label printing -- printed quantity of each label based on field data....

Just remember that there was a big change going from versions prior to Excel 2007. Excel 2007+ requires and ODBC with the correct Excel driver from Miorosoft.

RE: Label printing -- printed quantity of each label based on field data....

1) That error may be due to a recent Microsoft update I wrote about here:
http://kenhamady.com/cru/archives/2841

2) There are several ways to add an "inflation table" to a report. See these links for examples and explanations:
http://kenhamady.com/cru/archives/2806

http://kenhamady.com/cru/archives/2807

Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guides to Formulas, Parameters, Subreports, Cross-tabs, VB, Tips and Tricks
http://www.kenhamady.com/

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close