Table of Contents

TTMSFNCDataGridDatabaseAdapter.OnFieldToData Event

Fired when a dataset field value is read into a cell. Set Handled to True to override the default conversion.

API unit family: TMSFNCDataGridDatabaseAdapter Declaring type: TTMSFNCDataGridDatabaseAdapter Inherited from: TTMSFNCCustomDataGridDatabaseAdapter

Syntax

OnFieldToData: TTMSFNCDataGridDatabaseAdapterFieldToDataEvent;

Parameters

Name Description
Sender Adapter that fired the event.
ACell Grid cell coordinate receiving the field value.
AMasterField Master-detail field involved in the read operation, or nil when not applicable.
AField Dataset field being read.
ACellValue Cell value produced from the field.
Handled Set to True after assigning ACellValue yourself.