ADO NextRecordset Method

The NextRecordset method is used to clear the current Recordset object andreturn the next Recordset object by looping through a series of commands. Thismethod returns a Recordset object."

Syntax

Set objRecordset2=objRecordset1.NextRecordset(ra)
Note: objRecordset1 and objRecordset2 can be the same Recordset object.
Parameter Description
ra Optional. Returns the number of records affected by the operation

❮ Complete Recordset Object Reference