Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


Symptoms

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

↑ Back to the top


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.

↑ Back to the top


Resolution

Manually change the OptionValue property of the option button.

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


Keywords: KB208416, kbusage, kbprb, kbdta

↑ Back to the top

Article Info
Article ID : 208416
Revision : 1
Created on : 12/12/2002
Published on : 12/12/2002
Exists online : False
Views : 253