Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checkboxes versus an Option Group

Status
Not open for further replies.

mraetrudeaujr

Technical User
Dec 20, 2004
137
US
Right now I am using check boxes for a few fields. I am building a form that will have these fields (check boxes) for the data entry. I don't want more than one of these check boxes 'checked' at a time. In other words, they will be given these check boxes as choices, and I don't want them to be able to check more than one box at a time for this particular record. I thought about using an Option Group, but then that would mean deleting (or hiding) these 'check box' fields. This will make it tedious to go back and 'query' the information from these fields. So, how should I proceed?
 
The usual UI technique is to use check boxes for allowing the user to select multiple items and option buttons when you want to allow the user to only select one item out of several.

I put an option group or frame control on the form and put the option buttons in the option group. You can then bind the option group to a database field.

Or you could just use a combo box.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top