jgoodman00
Programmer
- Jan 23, 2001
- 1,510
I have a datagrid which connects to an MSAccess table. This table contains a number of columns which I want represented by a checkbox.
I initially set the datatype to Yes/No.
When I load the application the text-boxes default to Null even though Null is not allowed, & being a Yes/No field Null is impossible to get. Furtermore, if I try changing the value to either Yes or No (i.e. 1 or 0) I get another error saying 'DataType Mismatch'.
I then changed the underlying datatype to an Integer, & tried again. Same error.
How can I get the default value to be false, & the checkboxes to work?
What data-type should the underlying fields be?
James Goodman MCSE, MCDBA
I initially set the datatype to Yes/No.
When I load the application the text-boxes default to Null even though Null is not allowed, & being a Yes/No field Null is impossible to get. Furtermore, if I try changing the value to either Yes or No (i.e. 1 or 0) I get another error saying 'DataType Mismatch'.
I then changed the underlying datatype to an Integer, & tried again. Same error.
How can I get the default value to be false, & the checkboxes to work?
What data-type should the underlying fields be?
James Goodman MCSE, MCDBA