Skip to content

TDateField

Field class for date values.

Declaration

Source position: db.pas line 930

type

  TDateField = class(TDateTimeField)
  public
    constructor Create;
  end;

Description

TDateField is the class used when a dataset must manage data of type date. (TField.DataType equals ftDate). It initializes some of the properties of the TField class to be able to work with date fields.

It should never be necessary to create an instance of TDateField manually, a field of this class will be instantiated automatically for each date field when a dataset is opened.

Methods

Member Visibility Description
Create public Create a new instance of a TDateField class.
See all Methods

See also

Name Description
TDataset Base class for records-based data-access.
TField Provide access to the contents of a single field in a record.
TDateTimeField Field class for date/time/Datetime values.
TTimeField Field class for time values.