If you are using Crystal, you need to use a barcode font but you may also need to add some special characters.
For example for Code 39 you need to add an * at the beginning and the end of the numeric field.