Skip to main content
Table of Contents

TTMSFNCCustomDataGridDatabaseAdapter.DataSetEdit Method

Puts the linked dataset into edit mode unless it is already editing.

API unit family: TMSFNCDataGridDatabaseAdapter Declaring type: TTMSFNCCustomDataGridDatabaseAdapter

Syntax

FMX.TMSFNCDataGridDatabaseAdapter.hppPascalC++
procedure DataSetEdit;
void __fastcall DataSetEdit();

Remarks

Calls TDataSet.Edit only when CheckDataSet is True and the state is not already dsEdit; the dataset raises its own exception when it cannot be modified. Pair with DataSetPost or DataSetCancel.