Inserting Subpages Into Pages

After you create a subpage definition, insert a subpage control on your primary page and associate it with the subpage definition.

To insert a subpage into a page:

  1. Open the page into which you want to insert the subpage.

  2. Select Insert, and then Subpage.

    The Insert Subpage dialog box appears.

  3. Select a subpage definition.

    Specify the name of the subpage that you want to insert into the open page definition.

  4. Select a record definition in the Subpage Record Name Substitution field.

    The subpage writes its fields to a generic record. Specify the application-specific record name to which you want the information in the subpage written.

    Note:

    All of the fields in a subpage must be associated with fields of a subrecord in the specified record definition.

  5. Click the OK button.

    The subpage appears on the page. Its size reflects the size of the page control group, and it is identified by the subpage definition name. During design time, the fields within the subpage are not visible. At runtime, pages containing subpages are dynamically expanded. Be sure to leave a few pixels of space between the left edge of the main page and the subpage page field to ensure sufficient padding at runtime.

When saving a page with multiple subpages, be aware that you may receive a warning message if duplicate fields are present.

Inserting a Subpage Into a Grid

You insert a subpage into a grid as you would any other column.

See Inserting and Manipulating Grid Columns.