Many thanks.
A lot of people use either INTEGER or CHAR(1). You can set up the
field like this:
CREATE TABLE foo (
bar INTEGER NOT NULL DEFAULT 0,
/* ... */
CONSTRAINT chk_bar CHECK (bar IN (0, 1)));
or like this:
CREATE TABLE foo (
bar CHAR(1) NOT NULL DEFAULT '0',
/* ... */
CONSTRAINT chk_bar CHECK (bar IN ('0', '1')));
MS-Access uses a non-standard "integer" which is actually an
SQL_SMALLINT with values of 0 or -1.
Bob Hairgrove
rhairgro...@Pleasebigfoot.com
"Bob Hairgrove" <rhairgro...@Pleasebigfoot.com> wrote in message
news:3dfe4040...@news.webshuttle.ch...
Keep in mind that the VB code will interpret it as True or False, not 0 and
1.
Michael
"Andrew Chalk" <ach...@NOSPAMmagnacartasoftware.com> wrote in message
news:O56uvzUpCHA.704@TK2MSFTNGP09...
"Michael Visintin" <Michael....@eaglepoint.com> wrote in message
news:erin4$epCHA.640@TK2MSFTNGP12...