Copy and paste a control
By using the Copy and Paste commands, you can create a new control that matches the formatting of an existing control. However, you must change the binding of the new control so it does not store its data in the same field or group as the original control.
- In design mode, select the control you want to copy.To select more than one control at a time, press and hold down the CTRL key and click each control. To select a set of controls and their labels, drag the insertion point over the set of controls.
- On the Edit menu, click Copy.
- Place the insertion point where you want to insert the new control, and then click Paste on the Edit menu.
- Right-click the new control,
click Change Binding on the shortcut menu, and then 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, enter the appropriate properties in the Add Field or Group dialog box, and then click OK twice.
- To bind the control to an existing field or group, click the field or group you want to bind the control to, and then click OK.
Notes
- When you copy and paste a control with conditional formatting, the original conditions will be copied to the new control.
- Because data validation is based on fields and groups, not controls, changing the field or group to which a control is bound also changes any existing data validation for that control.
To test the control, click to select it. An icon on the control indicates whether it is correctly bound to its field. There are three possible icons:
- The binding is correct.
- The control may not function as expected because of a potential binding problem. To identify the potential problem, right-click the control, and then click More Details on the shortcut menu.
- The control will not function correctly because of a binding problem. To identify the problem, right-click the control, and then click More Details on the shortcut menu.