PDA

View Full Version : How to put a checkbox in a combobox to display a boolean value



icarey
11 Nov 2010, 12:44 AM
Hello
I am building a form for a paramedic site
I have a table with a list of drugs and associated with each drug is a field that is a boolean value so that when a drug needs authorization before it can be administered.

Table
ID Int
Drug VarChar
Authorization Boolean

I would like to display a checkbox in a combobox so that if a drug requires authorization a checked checkbox is displayed next the the drug name. The checkbox is only to display and not for selecting, the combobox list is used to select the required drug

Thanks
Ivan