PDF version of this page

Rules and other area properties

The Rules and other area properties can be accessed through the area properties icon in the Area toolbar or through the menu opened on a right-click of the mouse. When opened it displays a list of fields defined in the selected area.

Data extraction area

You can add a new field, edit or remove a field from this list.

  • Name (of the area) may be changed - except the master area.
  • Height is the number of lines included in this area.
  • Options apply to areas - except the master area.

Area Options

Ends record means this field finalizes a record. Use for the last line of multi-area records (product description KICKPLATE in these examples):

  • No optional lines.
  • Two lines, ending with KICKPLATE
  • Four optional lines.
  • Six lines, ending with KICKPLATE

Repetitive concatenates adjacent lines in input into one field, and opens Field Merging with these choices for the inter-line spacing in the merged field:

Field Merging Options

Top

Rules Tab

Rules tab within Rules and other area properties provides Add, Edit, and Remove rules. Add and Edit open the Rule window.

Rules window

Rule type has several alternatives, Exactly matches is the usual selection (there is an "Apply NOT to result of matching" selection later to give negative rules, eg "is NOT" in place of "is exactly").

Rules types

Related field shows fields for this area, chose one to test.

Rule Related Field

If Rule type was Matches RegEx expression, the Wizard opens showing the RegEx expressions available, select the one required or key your own.

RegEx expressions available

Contains and Exactly matches expressions may show the literal FIXME, meaning you will have to edit and insert your required literal.

Before and After FIXME

Replace FIXME with your test value as shown.

Ignore case if case is to be ignored.

Apply NOT to result of matching turns the expression into a negative, ie fieldname is empty becomes fieldname is not empty.

Top