Create barcodes in Crystal Reports

Add Code 128 barcodes to your existing report in SAP Crystal Reports.

Step 1. Open the Field Explorer: View > Field Explorer.

Enable Field Explorer in Crystal Reports

Step 2. Select Formula Fields and click on New.

Add a new formula for Code 128 barcodes

Step 3. Enter a name for the new formula.

Enter formula name - MyCode128Barcode

Step 4. Enter the function name and argument into the editor: Code128b ({Widgets.PartNumber}).

 Widgets.PartNumber is the table name and field name from your data source.  Click on Save and close.

CrystalSimple004

Step 5. The new function is now available in the Field Explorer.  To use it, drag/drop it onto the report.

The new MyCode128Barcode function is now ready

Step 6. Drag the field onto the report and change its font properties to:

 Font Name:         BCW_Code128B_1

 Font Size:        22

CrystalSimple006

Step 7. The report is now ready.  Click on Preview to see or print.

CrystalSimple007