What is the correct Access DDL query to add a Boolean datatype column to a table?
So far I\'ve seen examples like the following...
ALTER TABLE MyTabl
In access the Yes/No data type is a logical field that can display yes/no, true/false, or on/off. When you look at VBA code the true and false constants are equivalent to -1 and 0.
If you use this field to populate a check box it will function properly.
You may be able to Change your alter statement to use "YESNO" as such:
ALTER TABLE mytable ADD mynewcolumn YESNO
That should give you the desired check box in the access table column.