cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a barcode in crystal report ?

Former Member

Dear Friends ,

I need to create a barcode in Crystal report , So I created a formula (Barcode) and selected BarcodeC39ASCII from functions . then I change my font to Code39AzaleaWide1 .  but my output is not that much of clear , Please check my image file and suggest how to create barcode in crystal report .

Accepted Solutions (1)

Accepted Solutions (1)

abhilash_kumar
Active Contributor
0 Kudos

Hi Sri,

Have you tried the other formats and other fonts?

-Abhilash

Former Member
0 Kudos

Dear Abhilsh ,

After changing Function and font now its looking fine , But I need to show No below barcode with * symbol in both end .

Formula =  BarcodeC39(Database_item)

abhilash_kumar
Active Contributor
0 Kudos

If the database field is a number field, create this formula:

"*"&totext({database_field},0,"")&"*"

If it is a string field, create this formula:

"*"&{database_field}&"*"

Drag and drop the formula below the barcode.

-Abhilash

Former Member
0 Kudos

Thanks Abhilash,

Some Font Directly showing database item below barcode itself , so I downloaded c39hrp48dhtt font and I change the font , Now its working fine ,.

abhilash_kumar
Active Contributor
0 Kudos

Great!

-Abhilash

Answers (1)

Answers (1)

nikhil_joy2
Active Contributor
0 Kudos

Hi Sriram,

Refer example in below link.

http://www.barcoderesource.com/crystalreportsbarcode.shtml

have you tried fonts lik CCode39_S2 and CCode39_S3 as shown in the example?

Regards,

Nikhil Joy

Former Member
0 Kudos

Hi Nikhil ,

Thanks for your reply , But I cant understand point No5 .I didn't find out file CR_Formula.txt and  CCode39_S2  font

Also we have some default barcode function in Formula Workshop itself , Why we can't use that function  ?