Using the barcode control in Lotus NotesThis 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:

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...":

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

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

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,
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":

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

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:

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

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

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

|