The information in this article applies to:
SYMPTOMSWhen trying to create a fabricated (programmatic) hierarchical recordset using MDAC 2.1 SP2 (build 4202), the following error is generated: This error occurs on the line that sets the child recordset to the child chaptered command. This line of code might look like:
where:
CAUSEMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. RESOLUTIONThere is a workaround for this bug; simply add a line of code that sets the ActiveConnection of the parent recordset to Nothing. Your code might look like this:
STATUSPrevious releases of MDAC 2.1 SP2 did not have this problem. This bug was corrected in Microsoft Data Access Components 2.5 (MDAC 2.5). MORE INFORMATIONSteps to Reproduce Behavior
REFERENCESFor additional information about MDAC release history, click the article number below to view the article in the Microsoft Knowledge Base: Q231943 INFO: Microsoft Data Access Components (MDAC) Release HistoryFor additional information, click the article number below to view the article in the Microsoft Knowledge Base: Q196029 HOWTO: Create Hierarchical Recordsets Programmatically © Microsoft Corporation 1999, All Rights Reserved. Additional query words: kbado250fix
Keywords : kbMDAC kbGrpVBDB kbGrpMDAC kbDSupport kbADO210sp2bug kbMDAC210SP2bug kbMDAC250fix |
Last Reviewed: December 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |