ACC: Buttons Pasted into Option Groups Have Option Value of -1 (101072)



The information in this article applies to:

  • Microsoft Access 1.0
  • Microsoft Access 1.1
  • Microsoft Access 2.0
  • Microsoft Access for Windows 95 7.0
  • Microsoft Access 97

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.

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

REFERENCES

For more information about the OptionValue property, search the Help Index for "Option Group," or ask the Microsoft Access 97 Office Assistant.

Modification Type:MajorLast Reviewed:5/6/2003
Keywords:kbprb kbusage KB101072