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

Barcode Help

Status
Not open for further replies.

TEM3

Technical User
Dec 6, 2004
324
US
I have a series of formulas to create a barcode (3 of 9). In ASCII the current barcode is, as an example, *WC 9OM8* (one space between the "C" and the "9"). I need it to be *WC 9OM8* (two spaces between the "C" and the "9". The formula that prints the barcode is as follows:

"*"+{@CASEBARCODE}+"*"

I need the syntax to breakup the above and place an additional space between the second and third character.


 
I'm sorry. Forgot about the "*". It would be a space between the third and forth character!

BTW, I am using Crystal Reports 8.5.
 
Answered my own question:

Left(("*"+{@CASEBARCODE}+"*"),3) + " " + Right(("*"+{@CASEBARCODE}+"*"),5);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top