ConnectFields
Use this section level rule to move and align field text so the data elements appear to be connected.
Note | Previously, this rule was known as the ConcatFields rule. You can use either spelling. |
Syntax
ConnectFields (F=FixedField,L=LeftField,R=RightField)
Parameter |
Description |
F |
Enter the name of the field you want used as the fixed field. The system will move the other fields in relation to this field. The system does not move the fixed field. The first field you list in the rule’s parameters is always considered the fixed field. |
L |
Enter the names of the fields you want moved to the left of the fixed field. |
R |
Enter the names of the fields you want moved to the right of the fixed field. |
You must enter a fixed field and at least one field to move to the left or right side of the fixed field. By default, the system places the other fields one space character from the fixed field, unless you indicate that you do not want spacing between the fields.
Including NO in Movement Parameters
Include the word No after the movement parameters (L or R) to tell the system not to add spacing between the two fields. For example,
F=FIELD1,RNO=FIELD2
tells the system to place the contents of FIELD2 immediately after to the end of FIELD1 with no intervening spaces.
As the system places another field next to the fixed field, the fixed rectangle grows. This lets you define additional fields based upon where the last field was added.
Keep in mind...
- This rule does not move fields vertically. Fields are only moved horizontally.
- This rule loads the section (FAP or compiled FAP) if it is not already loaded.
- If you use the Move_It rule, or other rules that support right justification by padding the data with spaces, your results will be incorrect. This rule calculates the width of a field based upon its entire contents and does not remove any white space in the field.
- If you specify a field which does not contain data or is invalid, then no space, or space holder, is included.
- Do not try to move the same field multiple times. The final location of a given field's data is determined by the last movement of that field.
- The field you specify as the fixed field, cannot be included as one of the fields to be moved.
- This rule does not work with bar code or multiline text fields. If you try to name such a field, you will get an error. This rule does not handle rotated fields.
See also
© Copyright 2020, Oracle and/or its affiliates. All rights reserved. Legal notices.