×
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!
  • Students Click Here

*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.

Students Click Here

Jobs

Code128 in Crystal Report XI

Code128 in Crystal Report XI

Code128 in Crystal Report XI

(OP)
I need to combine two fields with slash in between using Barcode 128 fonts, but I cannot get it to scan.

This works with Code128Wide font
BarcodeC128A({INVENTORY_TRANS_1.WORKORDER_BASE_ID)}

and this works as well
BarcodeC128A({INVENTORY_TRANS_1.WORKORDER_LOT_ID})

How do I combine these two to make it look like this: Workorder_base_id/workorder_lot_id and I should be able to scan it.

Thank you.

RE: Code128 in Crystal Report XI

/ is represented  by ascii 47

You could combine your strings as follows:
newstring=string1+"/"+string2
Then encode the newstring

Alternatively:
I do not know the function you use BarcodeC128A and whether it can do calculations

Can you try something like:
BarcodeC128A(INVENTORY_TRANS_1.WORKORDER_BASE_ID+"/"+INVENTORY_TRANS_1.WORKORDER_LOT_ID)

I find your brackets interesting but inconsistent, and possibly unnecessary to use both {(

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! Already a Member? Login

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