M
Michele Locati
Hi to everybody
I've got a problem which I can't solve...
In an Access 2000 mdb I've a table linked to a Sql Server 2005 table.
The problem is that the Sql Server table contains bit fields which can
be null, but in Access I see null values as False. I found no way to
distinguish False/0 values from NULL values. The following query, for
example, returns just 1 or 2, never 0 even if there are null values in
the Sql Server table:
SELECT
IIF(field IS NULL, 0, IIF(field=0, 1, 2))
FROM
linkedTable
I've tried linking to Sql Server either {SQL Native Client} or {SQL
Server} odbc drivers, but I've got the same results...
Any hints?
Thank you a lot!
Michele
I've got a problem which I can't solve...
In an Access 2000 mdb I've a table linked to a Sql Server 2005 table.
The problem is that the Sql Server table contains bit fields which can
be null, but in Access I see null values as False. I found no way to
distinguish False/0 values from NULL values. The following query, for
example, returns just 1 or 2, never 0 even if there are null values in
the Sql Server table:
SELECT
IIF(field IS NULL, 0, IIF(field=0, 1, 2))
FROM
linkedTable
I've tried linking to Sql Server either {SQL Native Client} or {SQL
Server} odbc drivers, but I've got the same results...
Any hints?
Thank you a lot!
Michele