The information in this article applies to:
SYMPTOMSSetting a Recordset's ActiveConnection property to a recordset object causes either a Dr. Watson or a general protection fault (GPF) error to occur. For example:
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. MORE INFORMATIONIt is not recommended to set the ActiveConnection property to a recordset object. It is recommended that the Recordset's ActiveConnection property be set to an actual Connection object or connection string. The proper behavior is for Visual Basic to respond with a trappable error because ActiveX Data Objects (ADO) is expecting a connection string or object. Steps to Reproduce Behavior
REFERENCESFor more information on how to correctly open recordsets using ADO, please see the following article in the Microsoft Knowledge Base: Q168336 HOWTO: Open ADO Connection and Recordset Objects Additional query words:
Keywords : kbADO150 kbADO200bug kbDatabase kbGrpVBDB kbGrpMDAC kbDSupport kbADO210sp2fix kbMDAC210SP2 |
Last Reviewed: November 11, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |