Skip to main content
Table of Contents

TTMSFNCDataGridDatabaseAdapterColumn.FieldName Property

The name of the dataset field shown in this column.

API unit family: TMSFNCDataGridDatabaseAdapter Declaring type: TTMSFNCDataGridDatabaseAdapterColumn Type: string

Syntax

FMX.TMSFNCDataGridDatabaseAdapter.hppPascalC++
property FieldName: string;
__property System::UnicodeString FieldName = {read=FFieldName, write=SetFieldName};

Remarks

Setting a non-empty name looks the field up in the linked dataset (except while the adapter is loading from a stream) and updates Field, then refreshes the grid. An unknown name leaves Field nil and the column empty. Setting an empty name keeps the previously cached field reference.