TTMSFNCDataGridDatabaseAdapter.InsertRow Method
Starts a new dataset record at the position of a grid row.
API unit family: TMSFNCDataGridDatabaseAdapter
Declaring type: TTMSFNCDataGridDatabaseAdapter
Inherited from: TTMSFNCCustomDataGridDatabaseAdapter
Syntax
procedure InsertRow(ARow: Integer); override;
virtual void __fastcall InsertRow(int ARow);
Remarks
Moves the dataset to the row's record and calls TDataSet.Insert, or TDataSet.Append when ARow is past the last data row. Does nothing while the dataset is already in edit or insert mode. An inserted record that is left without changes is cancelled when the user moves to another row.
Parameters
| Name | Description |
|---|---|
ARow |
Grid row index. Pass the row after the last data row to append. |