OptionButton 对象 (Access)OptionButton object (Access)

窗体或报表中的选项按钮控件是一个单独的控件,用于显示基础记录源中的“是/否”值。An option button on a form or report is a stand-alone control used to display a Yes/No value from an underlying record source.

说明Remarks

当您选择或清除绑定到 "是/否" 字段的选项按钮时, Microsoft Access 将根据字段的Format属性 ("是/否"、"/" 或 "开/关") 显示基础表中的值。When you select or clear an option button that's bound to a Yes/No field, Microsoft Access displays the value in the underlying table according to the field's Format property (Yes/No, True/False, or On/Off).

您可以使用选项组中的选项按钮显示可供选择的值。You can use option buttons in an option group to display values to choose from.

还可以在自定义对话框中使用未绑定选项按钮接受用户输入。It's also possible to use an unbound option button in a custom dialog box to accept user input.

事件Events

方法Methods

属性Properties

另请参阅See also

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.