The information in this article applies to:
Advanced: Requires expert coding, interoperability, and multiuser skills. This article applies only to a Microsoft Access project (.adp). SYMPTOMSWhen you try to assign an ActiveX Data Objects (ADO) Recordset object to a form, you may receive the following error message:
CAUSEYou assigned a disconnected ADO Recordset object to the Recordset property of the form. RESOLUTIONSet the ActiveConnection property of the ADO recordset to a valid ADO Connection object before assigning it to the form. MORE INFORMATIONADO allows you to create a recordset, and then to disconnect it from its source. In a client/server environment, this allows you to update the recordset on the client without maintaining a constant connection to the server. Later, your changes are batch updated to the server. Even though ADO allows you to disconnect a recordset from its source and manipulate it on the client without a connection, Microsoft Access forms bound to Recordset objects require a valid ADO Connection object. Steps to Reproduce BehaviorCAUTION: Following the steps in this example will modify the sample Access project NorthwindCS.adp. You may want to back up the NorthwindCS.adp file and perform these steps on a copy of the project.
REFERENCESFor additional information about using disconnected recordsets with ADO, please see the following articles in the Microsoft Knowledge Base: Q190717 Disconnected Recordsets with ADO or RDS Q184397 Getting ADO Disconnected Recordsets in VBA/C++/JavaFor more information about using the form Recordset property, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type "Form Recordset Property" in the Office Assistant or the Answer Wizard, and then click Search to view the topic. Additional query words: prb
Keywords : kberrmsg kbdta AccessCS |
Last Reviewed: July 6, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |