Access 2007 - Barcodes in reports

EnterpriseTo use this functionality you require the Enterprise Edition

Info This description is for Access 2007
There are also descriptions for other versions of Access.

Barcodes in an Access 2007 database report

Flash Video

Here we show you how to add a barcode into a Access database report and bind it to a data field. First launch Access and create a new database or open an already existing database in what you want to add a barcode. A simple database could look like this:

Barcode, Access 2007

Next create a new report.

Barcode, Access 2007

Now add the ActiveBarcode control to the report. You must be in "Design Mode" to do this.

Barcode, Access 2007

Select the "Design" tab. Click on the button "Insert ActiveX control" from the range of "Controls".

Barcode, Access 2007

A dialog will show up:

Barcode, Access 2007

Select "ActiveBarcode" here and click OK. Now the barcode object will be placed in your report. This will be a standard barcode of EAN-128 type. This is the default type.

Barcode, Access 2007

Now you can modify this barcode. You can change the type, text, colors etc. For this click inside the barcode with the right mouse button. A pop up menu will open.

Barcode, Access 2007

Select "ActiveBarcode-Object" and then "Properties...". The property dialog of ActiveBarcode will open. Here you can modify the barcode as you like. For example you can change the type to any barcode type supported by ActiveBarcode: Codabar, Code 25 Industrial, Code 25 Interleaved, Code 39, Code 39 Extended, Code 93, Code 93 Extended, Code 128, Data Matrix, DUN-14, EAN-2, EAN-5, EAN-8, EAN-13, EAN-14, EAN-18, EAN-99, EAN 128, EAN-Velocity, GS1-128, GTIN-8, GTIN-12, GTIN-13, GTIN-14, Identcode, ISBN-10, ISBN-13, ISBN-13 Dual, Bookland, ISSN, ISMN, ITF-14, JAN, Leitcode, MSI, NVE, PDF417, PostNet, PZN, Royal Mail SCC-14, SSCC-18, UCC-128, UPC-A and UPC-E

Now place and resize the barcode element for your needs.

Barcode, Access 2007

Next we bind the controls text property (the barcodes content) to the data field "Code" of the database. Select the "Design" tab. Click on the button "Property sheet" from the range of "Tools".

Barcode, Access 2007

Have a look for the entry "Control Source" and change it to "Code". This is the data binding:

Barcode, Access 2007

Now close the design mode and switch to report view:

Barcode, Access 2007

Watch the result:

Barcode, Access 2007

The barcode control is bound to the data base field and shows the code of the current data set as EAN-128 barcode.

One last hint: A report is designed in a lower resolution that it is using while printing. So it may be required that you create the barcode control with a much bigger font size than you would normally use. Otherwise the text line under the barcode may be very very small in your print.



Related video:

Video (Flash) Description Size
Icon Access 2007:
Use ActiveBarcode in an Access 2007 report.
2,1MB Enterprise


Read more descriptions of how to add barcodes to standard applications (e.g. Office, Excel, Word, Access forms, Access reports, PowerPoint, Visio, OpenOffice.org, Lotus Notes, Publisher, Freelance, Freehand MX, Image Editors, WordPad, etc.)

rss twitter
| Home | Shop | Email | Datenschutz | Sitemap | Print preview | Version 5.58 | © Lars Schenk & Frank Horn

All trademarks and product names mentioned are the property of their respective owners.