Microsoft KB Archive/183592

= BUG: Setting Data Using DBTYPE_STR Binding Fails with OSP =

Article ID: 183592

Article Last Modified on 10/15/2003

-

APPLIES TO


 * OLE DB Simple Provider Toolkit 2.0
 * Microsoft Data Access Components 2.1 Service Pack 2

-



This article was previously published under Q183592



SYMPTOMS
The Microsoft OLE DB SDK contains the Microsoft OLE DB Simple Provider (Msdaosp.dll) file.

When you try to set a column of a simple provider by binding with type DBTYPE_STR and calling IRowsetChange::SetData or IRowsetChange::InsertRow, the column will not be updated. The setVariant method of the user written OSP object will not be called.



CAUSE
This is caused by a bug in the OLE DB Simple Provider, Msdaosp.dll file.



RESOLUTION
Use another DBTYPE for the DBBINDING object such as DBTYPE_BSTR or DBTYPE_WSTR.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: OSPTK toolkit

Keywords: kbbug kbpending KB183592

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.