Using option groups

Option groups let you choose values from option buttons (sometimes called radio buttons). Option buttons let you select one value while deselecting the previous value. Option groups work best when you have a small number of choices to select from. Figure 35-28 shows an option group next to the Auction checkbox; both controls perform the same operation.

FIGURE 35-28
Using an option group to select a numeric value.

The easiest and most efficient way to create option groups is with the Option Group Wizard. You can use it to create option groups with multiple option buttons, toggle buttons, or checkboxes. When you’re through, all your control’s property settings are correctly set. This wizard greatly simplifies the process and enables you to create an option group quickly. To create an option group, switch to Design View and select the Option Group command from the Design tab’s Controls group. Make sure the Use Control Wizards command is selected.

Option groups can only be bound to numeric fields. When creating an option group for a Yes/No field (which is numeric), set the Yes value to –1 and the No value to 0.

Add to Technorati Favorites


// Related Posted - GOOGLE!

Loading



Related Websites
No comments yet.

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>