Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TDateField

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Field class for date values.

Declaration

Source position: db.pas line 921

type TDateField = class(TDateTimeField)

public

  constructor Create(); override;

  

Create a new instance of a TDateField class.

end;

Inheritance

TDateField

  

Field class for date values.

|

TDateTimeField

  

Field class for date/time/Datetime values.

|

TField

  

Provide access to the contents of a single field in a record.

|

TComponent

|

TPersistent,IUnknown,IInterfaceComponentReference

|

TObject,IFPObserved

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.

See also

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.


Documentation generated on: Jul 24 2023