Previous Topic: Describe a ScreenNext Topic: Define and Position a Field


Position a Field

To position a field and its prompt, you use the incremental move box. The size of the box varies to reflect the number of characters in the prompt or field. First you select the attribute or group name from the views for the procedure step. You then position the prompt and field for each view selected. After you have positioned a field, you can review or redefine it only by using the Detail command from the Screen Design command menu.

The Screen Design tool prompts you for placement of the first occurrence of fields in both repeating and nested repeating groups. For nested repeating groups, you position the fields in higher level groups before the fields in lower level groups.

After you position the last field for the lowest level repeating group (one level for a non-nested repeating group). CA Gen prompts you to specify the options for the remaining occurrences in each group, starting with the lowest level group and working up to the highest level group. The number of occurrences depends on the cardinalities you assign to the group view during View Maintenance. You specify the remaining options for repeating group views on the Repeating Group Occurrences for Export panel.

The following table lists the options for repeating group views.

Repeating Field Positioning Options

Description

Number of additional occurrences

Defaults to the maximum cardinality minus the one current placement of the group.

Number of occurrences on each line

Lets you place columns of the group fields across the screen.

Number of blank columns between occurrences

Specifies the horizontal spacing of the group columns across the screen.

Display prompts with each occurrence

Specifies whether to include the prompt with each repetition of group fields. Default is not to redisplay it.

Spacing

Lets you specify vertical spacing (single, double, or triple lines) between each field.

Note: The path to the Repeating Group Occurrences for Export panel is Add Field\[set the product group or family](r)\OK\<prompt>(whatever you select)\OK. Then you place the first prompt and below it the corresponding field. When you have placed all prompts and fields in the first occurrence of the repeating group view, the Repeating Group Occurrences for Export panel appears.

You should carefully plan the spacing requirements for single-level and nested repeating groups. For example, in a repeating group where you place the prompt above the field, you may run out of vertical screen area if you choose to accompany each occurrence of the field with a prompt. For nested repeating groups, CA Gen positions only those occurrences in which all allowed levels of nested repeating groups can appear simultaneously.

Note: If the domain of an attribute is changed with the Data Modeling tool after the field for the attribute is positioned, the new domain can be reflected by deleting the field and positioning it again.