TTMSFNCDataGridDatabaseAdapter.OnDataToField Event
Fired when a modified cell value is about to be written to a dataset field. Set
Handledto True to take over the field assignment.
API unit family: TMSFNCDataGridDatabaseAdapter
Declaring type: TTMSFNCDataGridDatabaseAdapter
Inherited from: TTMSFNCCustomDataGridDatabaseAdapter
Syntax
OnDataToField: TTMSFNCDataGridDatabaseAdapterDataToFieldEvent;
Parameters
| Name | Description |
|---|---|
Sender |
Adapter that fired the event. |
ACell |
Grid cell coordinate being written back. |
AMasterField |
Master-detail field involved in the write operation, or nil when not applicable. |
AField |
Dataset field receiving the value. |
AInplaceEditor |
In-place editor that produced the cell value. |
ACellValue |
Cell value to write to the field. |
Handled |
Set to True after assigning the field yourself. |