A repeating recursive section contains other controls, can be inserted within itself, and is bound (bind: To connect a control to a field or group in the data source so that data entered into the control is saved. When a control is unbound, it is not connected to a field or group, and so data entered into the control will not be saved.) to nested reference groups (reference group: A group that is associated with another group so that their properties and the properties of the groups and fields they contain always match. If the properties of one group are changed, the other group is updated automatically.). You can use repeating recursive sections to create hierarchical content, such as an outline.
Insert a repeating recursive section (automatically create the data source)
If you choose to have Microsoft Office InfoPath 2003 create the data source when you insert a repeating recursive section, InfoPath creates a repeating group that contains a reference to itself.
- In design mode, place the insertion point where you want to insert the repeating recursive section.
- If the Controls task pane is not visible, click More Controls on the Insert menu.
- In the Controls task pane, select the Automatically create data source check box.
Note If the check box is unavailable, the form's design does not allow the data source to be automatically created. You must insert a repeating recursive section that is bound to an existing repeating group or to a group that you create.
- Under Insert controls, click Repeating Recursive Section.
- To add a control to the section, drag a control from the Controls task pane into the section.
Note You should not move a control that is already on the form into this section,
unless the control's field is already part of the section's group.
Insert a repeating recursive section (bind to an existing repeating group)
- In design mode, place the insertion point where you want to insert the repeating recursive section.
- If the
Data Source task pane is not visible, click Data Source on the View menu.
- In the Data Source task pane, right-click the group that you want the repeating recursive section to be bound to.
- On the shortcut menu, click Repeating Recursive Section.
Note The group must repeat and must contain a reference to itself.
Tip
You can also insert a repeating recursive section that is bound to an existing group by using the Controls task pane, as long as the Automatically create data source check box is cleared.Note The information in this topic may not apply if you are working with a form designed using Microsoft Office InfoPath 2003 without the service pack installed.