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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting Bool column to Yes/No in datagrid

Status
Not open for further replies.

dougconran

Technical User
Sep 26, 2003
89
GB
Does anyone know how to force a boolean column to Yes/No?

I'm using a datagidtablestyle to define the boolean column which defaults to a checkbox. However, if I use boolcol.falsevalue = "No" and boolcol.truevalue = "Yes" all I get is the checkbox greyed out. If I leave it as a textboxcolumn it shows up as True/False. The field in the underlying Access table is defined as Yes/No.

I should add that the datagrid is readonly.

TIA

Doug
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top