Using SQL's "bit" type?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I added a bit-typed field to one of my tables, which is accessed via a linked
table in an MDB project. As soon as I update the link in order to "see" the
new field (which maps in as a Yes/No type), any attempt to save any record
after any change results in an error saying that someone else changed the
record.

This is, of course, not true. I assume there's some sort of incompatibility
here? Is there a proper way to use bit fields in linked tables?

Maury
 
I believe it had to do something with the nullability of
the bit-field.

I think you need set the default value for the column in
sql server to either 0 or 1 or make it non-nullable.
 
Maury Markowitz said:
I added a bit-typed field to one of my tables, which is accessed via
a linked table in an MDB project. As soon as I update the link in
order to "see" the new field (which maps in as a Yes/No type), any
attempt to save any record after any change results in an error
saying that someone else changed the record.

This is, of course, not true. I assume there's some sort of
incompatibility here? Is there a proper way to use bit fields in
linked tables?

Maury

A Google Groups search quickly turns up references to this KB article:

http://support.microsoft.com/kb/280730/EN-US/
 
gandalf said:
I think you need set the default value for the column in
sql server to either 0 or 1 or make it non-nullable.

Ok, let me try that, thanks!

Maury
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top