1. Dim varChb As CheckBox
'
'
'
2. Set varChb = rst!CheckboxName
3. varChb.Value = 1
rst is a recordset that contains a value retrieved from an access database.
CheckboxNAme is the field that stores names of checkboxes
The value is actually the name of a chechbox present on a VB form
I vant to set the value of the retrieved checkbox as 1 (line3)
I get a Type mismatch error on line 2!!
How to solve this??
'
'
'
2. Set varChb = rst!CheckboxName
3. varChb.Value = 1
rst is a recordset that contains a value retrieved from an access database.
CheckboxNAme is the field that stores names of checkboxes
The value is actually the name of a chechbox present on a VB form
I vant to set the value of the retrieved checkbox as 1 (line3)
I get a Type mismatch error on line 2!!
How to solve this??