Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomDataController.AppendRecord Method

Appends a new record to a data controller.

#Declaration

Delphi
function AppendRecord: Integer; virtual;

#Returns

Type
Integer

#Remarks

You should use this method only in provider and unbound modes. If the data controller represents dataset data (TcxDBDataController), you should use the Append method instead.

The AppendRecord function returns the record index of a record. The record index can be used to access its field values by the Values property.

In provider mode, you need to implement the AppendRecord and InsertRecord methods of your custom data source to allow appending records.

See Also