PRB: Use ADOX with JetOLEDB to Use Command.Parameters.Refresh (253627)
The information in this article applies to:
- Microsoft Visual InterDev 6.0
- ActiveX Data Objects (ADO) 2.0
- ActiveX Data Objects (ADO) 2.01
- ActiveX Data Objects (ADO) 2.1
- ActiveX Data Objects (ADO) 2.1 SP1
- ActiveX Data Objects (ADO) 2.1 SP2
- ActiveX Data Objects (ADO) 2.5
- ActiveX Data Objects (ADO) 2.6
This article was previously published under Q253627 SYMPTOMS
When you use the Adodb.Command.Parameters.Refresh method
with an Access stored query, the following error message appears:
ADODB.Command (800A0CC1) Item cannot be found in the collection corresponding to the requested name or ordinal.
CAUSE
ADODB does not support the Command.Refresh method for calling Access queries.
RESOLUTION
To work around this problem, use ActiveX Data Objects Extensions for Data Definition Language and Security (ADOX) with Catalog.Command. This will enable you to use Command.Refresh.
Modification Type: | Major | Last Reviewed: | 6/12/2001 |
---|
Keywords: | kbDSupport kbprb KB253627 |
---|
|