IRecordSet Interface
InsertRecordAt
RemoveRecordAt
DropTable
IRecordSet interface Inserts or deletes record from the data
table.
IRecordSet can be queried from the IDataTable
interface.
See also User Data Sample, IDataTable,
IData,. IDataMods
HRESULT
InsertRecordAt(int index)
Parameters
index
- [in] 0-based index of the record.
Return Values:
- S_OK in case of
success.
DISP_E_BADINDEX - if index
is out of range. Use IData.etRecordCount
to check
the range.
Remarks:
Creates new record with default field values at 0-based index index.
HRESULT
RemoveRecordAt(int index)
Parameters
index
- [in] 0-based index of the record..
Return Values
DISP_E_BADINDEX - if index
is out of range. Use IData.etRecordCount to check
the range.
- S_OK in case of
success.
Remarks:
Removes index-th record from
the table.
|