Code 128 barcode

Printed From: Crystal Reports Book — Forum Name: Technical Questions

Hi,

I'm using code-128 bar code in crystal report with carriage return between the strings.
However i got output as desired but I'm getting Character 'M' in between strings .
i don't need 'M' in output.

I used ascii value(char(13)) in my formula.


Please help me how to suppress 'M' in between numbers in bar code.






Edited by Jeevan542 - 19 Dec 2016 at 1:15am
Originally posted by Jeevan542

Hi,

I'm using code-128 bar code in crystal report with carriage return between the strings.
However i got output as desired but I'm getting Character 'M' in between strings .
i don't need 'M' in output.

I used ascii value(char(13)) in my formula.


Please help me how to suppress 'M' in between numbers in bar code.






i used below formulae

stringvar output;

output:=BCSLinearCode128A(chr(124)+"0107556000345"+CHR(13)+{BARCODE_128_CUSTOMER.CUSTOMER_NBR}+Chr(13)+{@one}+Chr(13)+{@Amount_without Decimal});
//output:=trim(output);
output:=replace(output,chr(13)," ");