Formats

Use formats to choose the way some bar code types look, or the way they are formatted. In most cases the default 0 format is sufficient.

BarcodeCODABAR("CODA-0.B", )

You can change the format by editing the formula field. Using the table in APPENDIX A, you can list the available formats for each bar code type by clicking the icon in the Available formats column.

Example: CODABAR bar codes can start and end with letters; A, B, C, D. Formats are available for CODABAR, to automatically add these for you;

Using format A produces bar codes in the form 'A99999A'

BarcodeCODABAR("CODA-A.B", {table.FIELD})

The default format of 0 does not add any characters. This format allows you to add any characters yourself, using your own simple calculation;

BarcodeCODABAR("CODA-0.B", "A" + {table.FIELD} + "A")

If your database field is numeric, use a function to convert it to a string before adding characters to the string;

BarcodeCODABAR("CODA-0.B", "A" + BarcodeTextZeroPad( {table.FIELD}, 0, 0) + "A")
 

Copyright 2000 CIA (BAR CODES) UK. All rights reserved. Reproduction prohibited.