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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code128 in Crystal Report XI

Status
Not open for further replies.

tjonessi

Programmer
Jul 9, 2007
14
US
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.
 
/ 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 {(

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top