I used this code to make a Barcode (I had to make two changes to make it work).
The field 'Barcode' gets data from field 'Code'. (Barcode.ControlSource = Code)
The function draws Barcodes on the report based on the value (text) of Barcode.
I have some questions:
1. Can this barcode be used in real life with a real scanner?
2. Can I draw the Barcode on a form (or on some control in a form)? (here it's drawn on a Report, it uses Report.Line method).
Check out the report in the attachment: dbBarCode.zip