Collapse AllExpand All

3.13. Bar Codes

'Insert BarCode' Icon

The Bar Code icon enables you to create new bar code objects. Bar code objects are used to represent dynamic information stored in a database in bar code format.

To create a new bar code object, first select the Bar Code icon. Then click in the section of the report definition where you want the bar code to be located. Doing so will create the bar code object in that section.

Note

For more information on using bar code objects in report definitions, see the Getting Started and Advanced Topics chapters.

Once the bar code object has been created, you may then define the bar code object's properties. To define a bar code object's properties, double-click on the bar code object. The following screen will appear:

Barcode Properties

When defining the properties of a bar code object, you are presented with the following options:

Format

Select one of the bar code formatting options from the drop-down menu by clicking on the arrow to the right of the field. The report writer supports the following bar code formats:

  • 3of9

  • 3of9+

  • 128

  • ean13

  • ean8

  • upc-a

  • upc-e

Query Source

Select a query source from the drop-down menu by clicking on the arrow to the right of the field. Query sources are used to populate report definition objects with dynamic data from the database the report writer is connected to.

Column

Specify the name of the database column you want to use from the selected query source. A query source may refer to multiple columns in its SELECT statement. By indicating a specific column, you instruct the query source to return data only for that specified column. Other columns appearing in the SELECT statement will be ignored.

Note

For more information on query sources and the link between database fields and report definition objects, please see the Getting Started chapter.

Maximum Length of Value

Specify the maximum number of characters you expect your bar code data to contain. The length of the bar code will not exceed the value entered here. If fewer characters than the maximum number are used, the bar code will be aligned within the bar code object based on the alignment specified below.

Alignment

Specify how you want the bar code to be aligned horizontally if its length is fewer characters than the maximum length specified above:

Left

Select to align the bar code on the left margin of the bar code object.

Center

Select to align the bar code in the center of the bar code object.

Right

Select to align the bar code on the right margin of the bar code object.

Note

Bar codes always fill the entire vertical space specified for a bar code object. As a result, no vertical alignment is required.

Position/Size

Specify how you want the bar code object to be positioned and sized within the section where it is located.

X

Specify the distance, measured in inches, from the section’s left border to the upper-left-hand corner of the bar code object.

Width

Specify the width of the bar code object, measured in inches.

Y

Specify the distance, measured in inches, from the section’s top border to the upper-left-hand corner of the bar code object.

Height

Specify the height of the bar code object, measured in inches.

To the far right of the screen, the following buttons are available:

OK

Select to save your settings.

CANCEL

Closes the screen without saving any changes, returning you to the Application desktop.