Skip to main content
Table of Contents

TTMSFNCCustomDataGridDatabaseAdapter.CheckDataSet Method

Checks whether the adapter can currently exchange data with its dataset.

API unit family: TMSFNCDataGridDatabaseAdapter Declaring type: TTMSFNCCustomDataGridDatabaseAdapter

Syntax

FMX.TMSFNCDataGridDatabaseAdapter.hppPascalC++
function CheckDataSet: Boolean;
bool __fastcall CheckDataSet();

Remarks

Most adapter methods, including the DataSet* helpers, silently do nothing when this returns False.

Returns

True when the adapter is TTMSFNCDataGridDataAdapter.Active, a dataset is linked through DataSource, and that dataset is open; otherwise False.