Hi-
Attempting to include a Yes/No (boolean) field using a 'Create Table'
statement. Have yet to find working syntex. Example:
This works:
strSQL = "CREATE TABLE " & tName & "(Let TEXT (1));"
This doesn't work:
strSQL = "CREATE TABLE " & tName & "(Let TEXT (1), Selected YES/NO);"
Nor does this:
strSQL = "CREATE TABLE " & tName & "(Let TEXT (1), Selected BOOLEAN);"
Have searched extensively and have yet to find any example. In fact, some
listings of Data Types don't include Yes/No (Boolean). Am beginning to
wonder if it's even possible.
Any thoughts?
Thanks - Bob
Attempting to include a Yes/No (boolean) field using a 'Create Table'
statement. Have yet to find working syntex. Example:
This works:
strSQL = "CREATE TABLE " & tName & "(Let TEXT (1));"
This doesn't work:
strSQL = "CREATE TABLE " & tName & "(Let TEXT (1), Selected YES/NO);"
Nor does this:
strSQL = "CREATE TABLE " & tName & "(Let TEXT (1), Selected BOOLEAN);"
Have searched extensively and have yet to find any example. In fact, some
listings of Data Types don't include Yes/No (Boolean). Am beginning to
wonder if it's even possible.
Any thoughts?
Thanks - Bob