DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Collapse ModelsModels
Collapse DG Kernel ControlsDG Kernel Controls
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse ViewsViews
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Go to DGKC docs Search Documentation


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.