Data.DB.TField.SetFieldType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetFieldType(Value: TFieldType); virtual;

C++

virtual void __fastcall SetFieldType(TFieldType Value);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.DB.pas
Data.DB.hpp
Data.DB TField

Description

Provides the interface for a method that can set the DataType for the field.

As implemented in TField, SetFieldType does nothing. Descendant classes override SetFieldType to set the DataType for the field component. SetFieldType is useful for derived classes that can support more than one underlying data type. For example, a TBlobField may support ftBlob, ftFmtMemo, ftParadoxOle, ftDBaseOle, or ftTypedBinary.

See Also