How to create BarCode in Access 2013


Barcodes including:

Code 128
Code 39
Interleaved 2 of 5
UPCa
UPCe
EAN13
EAN8
Codabar 
The tutorial explains how to generate barcodes in MS Access 2013. The tutorial assumes that a database is already created that includes a report generated by a table populated with data.


Table:
image 

Report:
image 

The tutorial generates a Code 128 barcode using the Code 128 Font Package and the IDAutomation VBA Font Encoder


To create barcodes using a font, two components are required:
(1) Barcode Font
(2) Font Encoder

font encoder is a component that takes the data that will be converted to a barcode and formats it into another form of data that the barcode font can understand. The IDAutomation VBA Macros is a free font encoder that encodes data for Access.

The tutorial assumes that the fonts downloaded and installed.

1. Download the BarcodeFunctions.zip font encoder to the desired location on your computer. If unsure of where the download is located, run a search on the computer for the name BarcodeFunctions.



2. To extract BarcodeFunctions.zip, right-click on the file and select Extract All.
image 



3. To identify the location of the IDAutomationVBA.bas file that will be imported into Access's Visual Basic Editor, navigate through the extracted BarcodeFunctions folder. Remember the location of the file.
image


4. Open the Access. 
image 



5. Select the Create tab. 
image 



6. Select Visual Basic.
image 



7. In the Visual Basic Editor, select File--Import File and navigate to the location established in Step 3 (where the IDAutomationVBA.bas file exists).



8. Select the file and choose Open.



9. The IDAutomationVBA.bas is placed in the Modules folder. Ensure that only one instance of the IDAutomationVBA is imported. 
image 



10. Select File and then Close and Return to Microsoft Access.
image 



11. Right-click the report and select Design View.



12. In the Design tab, select the Text Box with a left-click.
image 



13. Navigate to the Details section of the report and left-click. It will place the Text Box into the report.
image 



14. Left-click the label and select the Delete key. Resize the Text Box to desired size.



15. Right-click the Text box and select Properties.



16. Within the Property Sheet, select the Data tab.



17. In the Control Source, enter the formula for Code 128 as =Code128([Field]) 
image 



18. To confirm the data is encoded. Double-click the report.
image



19. Return to Design View and select the barcode field.



20. In the top left of the application, select Home, and then in the font window enter the barcode font 
IDAutomationC128L (sale version) or IDAutomationSC128L (demo version).
image 



21. Double-click the report.
image


______________________________________________________

ADDITIONAL INFORMATION:

Functions List for IDAutomationVBA.bas

Share this

Related Posts

Previous
Next Post »