Changing the group or field name modifies only those commands that currently contain the group or field name. For example, if you remove the group name from an individual command for inserting rows,
that command will not be updated when you change the group name.
Customize all the menu commands for a repeating table by changing the group or field name
Note If users have already filled out forms based on your form template, changing the name of a field or group can cause data loss in those forms.
- In design mode, right-click the Repeating Table label below the table, and then click Show Data Source.
- In the Data Source task pane, right-click the highlighted repeating group or field, which is the group or field that the table is bound to, and then click Properties.
- In the Name box in the Field or Group Properties dialog box, type a new name.
Note If your form template is based on a sample form, pre-existing XML Schema, database, or Web service, you can only change the names of fields and groups that you have added to the data source.
- The following default menus will be updated with the new command name. Any additional commands you add to the repeating table will reflect the new name.
Menu Command name Section submenu on the Insert menu [group or field name] Shortcut menu Insert [group or field name] above
Insert [group or field name] below
Remove [group or field name]
Add or customize a single menu or toolbar command name for a repeating table
- In design mode, right-click the Repeating Table label below the table, and then click Repeating Table Properties.
- In the Repeating Table Properties dialog box, click Customize Commands.
- In the Table Commands dialog box, click the action in the Action list whose command name you want to add or customize.
- In the Location for the command box, do one of the following:
- To add a command to a menu or toolbar, select the check box for the menu or toolbar.
- To customize an existing command, select the name of the menu or toolbar that contains the command.
- In the Command name box, type the new name.
- If the command appears on a toolbar, type the new ScreenTip in the ScreenTip box.