How to: Arrange Page Fields in Rows and Columns Using a FixedLayout Control

This topic describes how to use a FixedLayout group control on a page to arrange page fields in rows and columns, similar to a matrix. A FixedLayout group control is typically used to display statistical data, as shown in the following figure of an example page that shows sales totals for different time periods.

Ee909569.Local_-1378750732_navrtcfixedlayoutexample(en-us,NAV.60).png

Fields in a FixedLayout group control are displayed in a FastTab with a heading for each row and column. For more details about the FixedLayout group control, see Arranging Fields in Rows and Columns Using a FixedLayout Control.

To arrange page fields in rows and columns

  1. Open the page in Page Designer.

  2. In Page Designer, insert a blank line where you want to locate the fields.

  3. Set the Type and SubType field to Group. In the Caption field, type the text that you want as the heading of the FastTab that contains the fields.

  4. On the next line, set the Type to Group and SubType field to FixedLayout.

  5. On the next line, set the Type and SubType field to Group. This defines the placeholder for the first column of fields. To add a heading to the column, type the text in the Caption field.

  6. On the next line, set the Type to Field. This defines the first field in the column. In the Caption field, type the text that you want as heading for the row.

  7. Specify the data source for the field by doing one of the following:

    • If the data source is a field of a the table that is associated with the page, then on the View menu, click Field Menu, select the field, and then click OK.

    • If the data source is a variable, then on the View menu, click C/AL Globals or C/AL Locals, and then create the variable. After you create the variable, in the SourceExpr field in Page Designer, click the Assist button and select the variable.

  8. Repeat steps 6 and 7 to add the remaining fields in the first column.

    The following figure shows a Page Designer example that has four fields.

    Ee909569.Local_-472612427_navrtcfixedlayoutpagedesignergroup(en-us,NAV.60).png

  9. Repeat steps 5 through 8 to add group controls that define the remaining columns.

    Note

    You do not need to specify captions for these fields. Only the captions of fields in the first column define the row headings.

See Also

Concepts

Arranging Fields in Rows and Columns Using a FixedLayout Control