Data.DB.TField.SetFieldType

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TField

Delphi

procedure SetFieldType(Value: TFieldType); virtual;

C++

virtual void __fastcall SetFieldType(TFieldType Value);

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