Data.DB.TBlobField.SetFieldType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetFieldType(Value: TFieldType); override;

C++

virtual void __fastcall SetFieldType(TFieldType Value);

Properties

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

Description

Specifies the type of the BLOB field.

Use SetFieldType to change the field type of a BLOB field, overriding the default type.

Normally, the type of the physical database field is checked and a TFieldType is selected that matches most closely. BLOB fields can indicate more explicitly what kind of BLOB is in the database. Specify the BLOB type as the value of the Value parameter.

The following table contains the possible values for BLOB fields. Calling SetFieldType with any other data type does nothing.



Value Description

ftBlob

Binary Large Object field

ftMemo

Text memo field

ftGraphic

Bitmap field

ftFmtMemo

Formatted text memo field

ftParadoxOle

Paradox OLE field

ftDBaseOle

dBASE OLE field

ftTypedBinary

Typed binary field

ftOraBlob

BLOB fields in Oracle 8 tables

ftOraClob

CLOB fields in Oracle 8 tables



Note: Calling SetFieldType does the same thing as setting the BlobType property.

See Also