Microsoft KB Archive/208416

= ACC2000: Buttons Pasted into Option Groups Have Option Value of -1 =

Article ID: 208416

Article Last Modified on 12/12/2002

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q208416



This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).

Novice: Requires knowledge of the user interface on single-user computers.



SYMPTOMS
A stand-alone option button that has been pasted into an option group has an OptionValue property of -1.



CAUSE
Stand-alone option buttons do not have an OptionValue property. When a stand-alone option button is pasted into an option group, the option button's default ControlSource property of -1 is assigned to the OptionValue property of the option button.



RESOLUTION
Manually change the OptionValue property of the option button.



Steps to Reproduce Behavior

 * 1) Create an option group. Create an option button outside the group.
 * 2) Copy the button to the Clipboard.
 * 3) Select the option group.
 * 4) Paste the button into the option group. Note that the OptionValue property of the option button is set to -1.

