The DataMatrix UFL for Crystal Reports

While a UFL for Crystal Reports is included with the kit, limitations of the Crystal Reports formula model require that larger barcodes should be stored in the underlying database rather than generated through a formula.

The Crystal Reports UFL (User Function Library - U2LDMATDF.DLL) is installed into the Windows\System32 directory, and the associated sample files are placed in the installation directory of your Barcode Font kit. Most modern versions of Crystal can access the UFL from the Windows\System32 directory; but if you are using an older version you may need to copy it to a directory where Crystal can find it. Typically this will be the directory holding the Crystal Reports executable file (CRW32.exe), c:\Program Files\Seagate Software\Crystal Reports for CR 8, or \Program Files\Common Files\Crystal Decisions\2.0\bin for CR 9.

It is important to note that Crystal Reports sets a limit on the number of characters that can be displayed from a formula. Consequently only relatively small DataMatrix barcodes (100 characters maximum) may be generated using this UFL. This is not a limitation of the dLSoft Aztec/DataMatrix barcode font, but an inherent feature of Crystal Reports.

 

Note that if you add barcode to reports using the Testware version and subsequently upgrade to the full version, you must delete the function and recreate it - otherwise the barcodes will continue to be scrambled.

More:

Running the sample

Creating a DataMatrix barcode on a report

To make changes to the barcode formula

Function parameters