Copy and paste a control

You can use the Copy and Paste commands to create a new control that matches the formatting of an existing control. However, you must change the binding (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.) of the new control so that it does not store its data in the same field (field: An element or attribute in the data source that can contain data. If the field is an element, it can contain attribute fields. Fields store the data that is entered into controls.) or group (group: An element in the data source that can contain fields and other groups. Controls that contain other controls, such as repeating tables and sections, are bound to groups.) as the original control.

ShowTip

To quickly copy formatting, such as font style, size, and color, from one control to another, use the Format Painter tool on the Standard toolbar.

  1. In design mode, select the control that you want to copy.

ShowTip

To select more than one control at a time, press and hold down the CTRL key, and then click each control. To select a set of controls and their labels, drag the insertion point over the set of controls.

  1. On the Edit menu, click Copy.
  2. Place the insertion point where you want to insert the new control, and then on the Edit menu, click Paste.
  3. Right-click the new control, click Change Binding on the shortcut menu, and then in the Control Binding dialog box, do one of the following:
    • To create a new field or group to bind the control to, right-click the group to which you want to add the field or group, click Add on the shortcut menu, and then enter the appropriate properties in the Add Field or Group dialog box.
    • To bind the control to an existing field or group, click the field or group that you want to bind the control to.

 Notes 

 
 
Applies to:
InfoPath 2003