The information in this article applies to:
BUG #: 17119 (SQL 6.5) SYMPTOMS
In a self-written ODBC program that executes a prepared statement at a SQL
Server (set up with an OEM code page, such as code page 437 or 850) the
data in the buffer passed in the rgbValue parameter of SQLBindParameter is
converted from ANSI to OEM after issuing the SQLExecute. This can be
observed when using extended characters in the character buffer.
CAUSEThe ODBC SQL Server driver invokes the stored procedure upon SQLExecute by remote procedure call (RPC). In this scenario, a passed parameter is converted in place. Because Microsoft Access reuses these parameters to match the returned data to the values of the primary key, it shows "#Deleted" in the affected records. WORKAROUND
To work around this problem, do one of the following, as appropriate for
your application:
STATUSMicrosoft has confirmed this to be a problem in the products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONThis problem also occurs if you use the MS Code page Translator instead of the "Convert OEM to ANSI characters" check box. Additional query words: Ansi2Oem Oem2Ansi AnsiToOem OemToAnsi CharToOem OemToChar cp codepage
Keywords : kbinterop kbprg kbusage SSrvProg kbbug6.50 kbbug6.00 |
Last Reviewed: April 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |