12 4 5 Field Position Attributes

LANSA Technical

12.4.5 Field Position Attributes

Attributes

Description

*Rnnn

*Lnnn

These attributes are synonyms.

These attributes are used to indicate a specific row / line on the screen / report at which the field should be positioned.
Note: These are ignored if specified for a field in a browselist.

*Cnnn

*Pnnn

These attributes are synonyms.

These attributes are used to indicate a specific column / position on the screen / report at which the field should be positioned.

Special note (right-to-left languages only): If you are using a right-to-left language, and have not specifically disabled the automatic "mirroring" facility (see the FUNCTION command), the column / position specified will be automatically "inverted" or "mirrored" into a right-to-left panel or report position. This facility provides for the easy change of panel and report layouts from right- to-left into left-to-right layouts, or vice-versa. However it does mean that all positions are always specified in left-to-right format. Thus it is much easier to modify panel and report layouts by using the screen or report painter facilities than by making manual RDML changes. 

 

 

Example

This command specifies, for a left-to-right language, that field #A, prefixed by its data dictionary label, should be positioned at row 2, position 10 and that field #B should be positioned at row 5, position 15:

DISPLAY FIELDS((#A *L2 *P10)(#B *L5 *P15))

 

Note that the manual specification of row and column numbers for fields can be an arduous task. It is much quicker and easier to use the LANSA screen design facility, which will automatically generate the required row and column numbers.

For Visual LANSA, refer to Function Screen Designer in the Visual LANSA User Guide for details.

For IBM i, refer to the The Screen Design Facility in the LANSA for i User Guide.