Creating choice sections in tables
choice section is a section within a table that can be configured
to customize the display of specific rows from within the section.
This customization is applied to individual rows within the section
by using conditional statements. For example, you can configure
a choice section to display instances of a specific row using different
text colors, depending on the value of a specific field within that
You can also add header, body, and footer rows to a choice section,
and remove header, body, and footer rows from a choice subform set
by choosing one of these options:
To create a choice section from an existing section
Select a table section and
in the Object palette.
Click the Section tab and select One Subform from Alternatives
from the Type list.
To create a choice section from a row
Select a row
within the table and select Table > Group as Choice Section.
To add a header, body, or footer row to a choice section
Select a choice section.
In the Object palette, click the Section tab and ensure that
Select One Subform from Alternatives is selected from the Type list.
Click the Edit Alternatives button.
Click the Add button to insert
a new Alternative Subforms list item. You can also drag rows into
the choice subform set by using the Hierarchy palette.
a new row adds a duplicate of the currently selected row. If no
row is selected, a new unnamed row is added to the choice section.
Use the Up and
to move the new row entry to the location you want. Ordering entries
in the Alternative Subforms list is important because entries are
processed sequentially at run time, and the first entry with an
expression that evaluates to true appears on the form.
Important: This procedure outlines the process for adding new rows to an existing choice section. When you add rows in this way, Designer first creates a new row object and then adds the row to the table and the choice section. If you want to add existing table rows to a choice section, drag row objects into the choice section from the Hierarchy palette.
To remove a header, body, or footer row from a choice section
Select a choice section.
In the Object palette, click the Section tab and click Edit
Select an entry from the Alternative Subforms list and click
Important: Removing a row by using the Edit Data Nominated Subforms dialog box completely removes the row object from your form design. If you want to preserve the row but remove it from the choice section, you must manually drag the row out of the choice section by using the Hierarchy palette.