Lotus Notes - Barcodes in projects

Using the barcode control in Lotus Notes

This is a simple example of how to add a barcode to your Notes database. The barcode will be bound to a data field of the database.
First launch Notes. Create a new database or open an existing database.
Here you see as example a very simple database. The Form could look like this:

Barcode, Lotus Notes

Create an additional mask and insert the ActiveBarcode control into this mask. To do this, go to the menu "Create" and select the function "Object...":

Barcode, Lotus Notes

A dialog that shows all the objects installed to your system will appear. First select the option "Object" or "Control".

Barcode, Lotus Notes

Choose "ActiveBarcode" from the "object type list" and click Ok. Now a barcode object will be embedded into your Form:

Barcode, Lotus Notes

This will be a standard barcode of EAN-13 type. This is the default type. You can change this 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

But this is not necessary now as we are using EAN-13 type in this example.

Next you add a data field for the article number into this Form. Set the properties of the Form to "Formulas inherit values from selected document":

Barcode, Lotus Notes

The content of the data field will be the field name of the selected document you want to take over:

Barcode, Lotus Notes

Now you add some Source Code to the "PostOpen" event of the Form. This code will set the ActiveBarcode's property "Text" to the value of the data field "ArticleNumber". See the screen shot for the example Source Code:

Barcode, Lotus Notes

Next you require a View. In this example this is a ascending sorted Column showing the data field "ArticleNumber":

Barcode, Lotus Notes

The View in the Notes Client will look like this after we have created three example documents using the Form:

Barcode, Lotus Notes

Select one of the example documents inside the View. Now click the action "CreateBarcode". This is the result:

Barcode, Lotus Notes



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.