[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBCtrls' (#lcl)

TFieldDataLink.FieldName

FieldName - the name of the attached field, stored as a string.

Declaration

Source position: dbctrls.pp line 89

public property TFieldDataLink.FieldName : string
  read FFieldName
  write SetFieldName;

Description

FieldName is a String property which contains the name of the field in the linked Dataset with the value for a data-aware Control. Changing the value for the property causes Field to be updated to reflect the new value. If the data link is marked as Active, the EditingChanged and Reset methods are called to trigger event handlers in the class instance.

Use the DataSource property to assign the component with the linked DataSet which contains the specified FieldName.

See also

TFieldDataLink.Control

  

The Control to which this datalink is attached.

TFieldDataLink.Field

  

The Field to which the datalink is attached.

TFieldDataLink.EditingChanged

  

EditingChanged - method for processing changes in the Editing property.

TFieldDataLink.Reset

  

Checks whether the link is active, calls the OnDataChange event handler then sets IsModified to False.

TDataLink.DataSource

TDataLink.DataSet

TDataLink.Active


Version 3.2 Generated 2024-02-25 Home