RAD Studio VCL Reference
|
Provides access to a secondary recordset.
function NextRecordSet: TCustomSQLDataSet;
__fastcall TCustomSQLDataSet NextRecordSet();
Call NextRecordSet to obtain secondary datasets when accessing the results of a stored procedure that returns multiple sets of records. Opening the dataset fetches the first set of records. NextRecordSet provides access to the subsequent sets.
NextRecordSet returns a newly created TCustomSQLDataSet component that provides access to the next set of records. The first time you call NextRecordSet, it returns a dataset for the second set of records. The next call returns a third dataset, and so on, until there are no more sets of records. When there are no additional datasets, NextRecordSet returns nil (Delphi) or NULL (C++).
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|