Click to See Complete Forum and Search --> : Datagrid - checkbox


Sandra VDS
March 20th, 2001, 02:35 AM
I have displayed a datagrid linked to an Access-table. The Access-table contains a yes/no field. The link between the Access-table and the datagrid is all right, except for the boolean or yes/no field, because in the datagrid, only the value of this boolean field is shown (0 or 1), and I would like to see the checkbox instead.

Is there any possibility to show a checkbox in the datagrid in runtime ?

Iouri
March 20th, 2001, 07:02 AM
try this

column (grid.columns(index).style = ssStyleCheckBox

Iouri Boutchkine
iouri@hotsheet.com

Sandra VDS
March 27th, 2001, 05:41 AM
Thanx for your reply !

Tried everything, but can't find the solution. Your suggestion "ssStyleCheckbox" is not a code applicable to VB 6.0.

You have any suggestions for VB 6.0 ??