Microsoft KB Archive/101072

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

Article ID: 101072

Article Last Modified on 1/18/2007

-

APPLIES TO


 * Microsoft Access 1.0 Standard Edition
 * Microsoft Access 1.1 Standard Edition
 * Microsoft Access 2.0 Standard Edition
 * Microsoft Access 95 Standard Edition
 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q101072



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 button's default ControlSource property of -1 is assigned to the button's OptionValue property.



RESOLUTION
Manually change the option button's OptionValue property.



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 button's OptionValue property is set to -1.

