TTMSFNCDataGridDatabaseAdapterColumns.HasFieldsDefined Method
Checks whether the collection contains explicitly defined field mappings.
API unit family: TMSFNCDataGridDatabaseAdapter
Declaring type: TTMSFNCDataGridDatabaseAdapterColumns
Syntax
function HasFieldsDefined: boolean;
bool __fastcall HasFieldsDefined();
Remarks
While this returns True, TTMSFNCCustomDataGridDatabaseAdapter.AutoRemoveColumns keeps the collection when the dataset closes.
Returns
True when at least one item has a non-empty TTMSFNCDataGridDatabaseAdapterColumn.FieldName and is not TTMSFNCDataGridDatabaseAdapterColumn.AutoCreated; otherwise False.