Data.DB.TDateField

From RAD Studio API Documentation
Jump to: navigation, search

Data.DB.TDateTimeFieldData.DB.TFieldSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTDateField

Delphi

TDateField = class(TDateTimeField)

C++

class PASCALIMPLEMENTATION TDateField : public TDateTimeField

Properties

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

Description

TDateField represents a date field in a dataset.

TDateField encapsulates the fundamental behavior common to Date fields. Date fields contain date values (without any time value), which they manage using the TDateTime type (Delphi) or class (C++).

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

See Also

Code Examples