Data.DB.TBooleanField

From RAD Studio API Documentation
Jump to: navigation, search

Data.DB.TFieldSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTBooleanField

Delphi

TBooleanField = class(TField)

C++

class PASCALIMPLEMENTATION TBooleanField : public TField

Properties

Type Visibility Source Unit Parent
class public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB

Description

TBooleanField represents a field containing Boolean values.

TBooleanField encapsulates the fundamental behavior common to Boolean data. Boolean fields can hold values of true or false.

In addition to the properties, methods, and events common to all fields that are introduced by the TField class, TBooleanField introduces new properties to convert between boolean values and other data types, and to provide display strings that represent various interpretations of the data.

If you use the Fields editor at design time to create a persistent field component for the boolean field, you can access it by name at runtime. When using dynamic field components, you can access the TBooleanField instance using the dataset's Fields property or FieldByName method.

See Also

Code Examples