FIX: When You Set a Date Field to Empty an Error Message Occurs (274506)
The information in this article applies to:
- ActiveX Data Objects (ADO) 2.5
- Microsoft Data Access Components 2.1
- Microsoft Data Access Components 2.5
This article was previously published under Q274506 SYMPTOMS
When you attempt to store the Microsoft Visual Basic keyword EMPTY to an ADODB Record column based on a Date field, the following error message occurs:
With MDAC 2.5:
Run-time error '-2147217887(8004e21)':
Multiple-step operation generated errors. Check each status value.
With MDAC 2.1.4202.3:
Run-time error '-2147217887(8004e21)':
Errors Occurred
This behavior does not occur if the Native Jet Provider is used against a Microsoft Access 2000 or Microsoft Access 97 database.
CAUSE
There was no conversion information for converting between Empty and DBTimeStamp in the products listed in the "Applies to" section.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
This problem has been fixed in Microsoft ActiveX Data Objects versions 2.6 and later. You can install the latest version of Microsoft Data Access Components from the following Web site:
Modification Type: | Minor | Last Reviewed: | 4/22/2003 |
---|
Keywords: | kbBug kbfix kbMDAC260fix KB274506 |
---|
|