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

ID: Q208416


The information in this article applies to:

This article applies to a Microsoft Access database (.mdb) and 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.


MORE INFORMATION

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.



REFERENCES

For more information about the OptionValue property, click Microsoft Access Help on the Help menu, type "OptionValue property" in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

Additional query words: prb


Keywords          : kbusage kbdta FmrProp 
Version           : WINDOWS:2000
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: May 14, 1999