I need to display a numeric value (document number) as barcode. I use Code39 to convert. It is important to concatenate %-character as first, and $-character as last character to my number.
Here is my code:
Code39Full ("%" & ToText({Command.DocNum}, 0, '') & "$")
That should show up:
%217006169$
but it appears this:
%217006169/D
Any suggestion?
I found out the easyest solution for my problem.
Steps for the right barcode:
"%" & CStr({Command.DocNum}, 0, '') & "$"
Now it works perfectly!
With this CrystalReports built-in tool no needid choosing the font type, or inserting any barcode function into the formula.