Knowledge Base

PRB: Access ODBC Driver Does Not Support Multiple Result Sets

Article ID: 202433

Article Last Modified on 9/17/2003


APPLIES TO


This article was previously published under Q202433

SYMPTOMS

The Microsoft Access ODBC Driver does not support multiple result sets of native Access tables. Calling SQLGetInfo( hdbc, SQL_MULT_RESULT_SET, ... ) returns an 'N' signifying the driver does not support multiple result sets. This means an application cannot call the ActiveX Data Objects (ADO) ADODB.Recordset.NextRecordset method when using the Microsoft OLE DB Provider for ODBC Drivers and the Microsoft Access ODBC Driver.

Calling the NextRecordset method returns error 800A0CB3:
The operation requested by the application is not supported by the provider.
Do not use the ADODB.Recordset.NextRecordset method with the Microsoft Access ODBC Driver or any other driver that does not support multiple result sets.

STATUS

This behavior is by design.

REFERENCES

Microsoft Jet Database Engine Programmer's Guide

Additional query words: resultset, Access, ADO

Keywords: kbdatabase kbprb kbmdacnosweep KB202433