The information in this article applies to:
SYMPTOMS
Moderate: Requires basic macro, coding, and interoperability skills.
CAUSEMicrosoft Access supports zero-length strings, but SQL Server does not. The SQL ODBC driver does not convert the zero-length string to a value that can be used by SQL Server; therefore, SQL Server interprets the zero-length string as a Null value and returns the error message. RESOLUTIONEither remove the NOT NULL restriction on the SQL Server column, or send some character other than a zero-length string to the SQL Server column. MORE INFORMATIONSteps to Reproduce Behavior
REFERENCESFor more information about zero-length strings, search for "zero length strings, prevent or allowing in fields," and then "Properties that control how blank fields are handled" using the Microsoft Access 7.0 Help Index. Additional query words: inserting attaching
Keywords : kberrmsg kbinterop OdbcSqlms |
Last Reviewed: April 6, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |