PRB: Access ODBC Driver Does Not Support Multiple Result Sets

ID: Q202433


The information in this article applies to:


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 kbODBC 
Version           : WINDOWS:1.5,2.0,2.1,2.1 SP1,2.1 SP2
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: April 30, 1999