Article ID: 228935 - Last Review: July 28, 2003 - Revision: 1.2 FIX: Uninitialized String Variables, Empty String Values, Jet Provider, and Errors OccurredThis article was previously published under Q228935 On This PageSYMPTOMS
If a WITH statement is used to store an empty string value to one field and an uninitialized string to the very next field, an error will occur when using the Microsoft OLE DB Provider for Jet 3.51 or 4.00 that shipped with MDAC versions prior to 2.5. The error that will occur is as follows on version MDAC versions prior to 2.5:
'Errors Occurred'
'Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.'
RESOLUTION
If it is still necessary to use the OLE DB Provider for Jet 3.51 or MDAC versions prior to 2.5 then it will be necessary to make sure all variables are properly initialized. Otherwise this problem is resolved in the OLE DB Provider for Jet 4.0 that shipped with MDAC 2.5, specifically version 4.0.2927.4.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce BehaviorNOTE: Change the DBPath variable to point to an .mdb file.
APPLIES TO
| Article Translations
|
Back to the top
