Data.DB.TTimeField

From RAD Studio API Documentation
Jump to: navigation, search

Data.DB.TDateTimeFieldData.DB.TFieldSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTTimeField
[–] Properties
Type: class
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: Data.DB

Delphi

TTimeField = class(TDateTimeField)

C++

class PASCALIMPLEMENTATION TTimeField : public TDateTimeField

Description

TTimeField represents a time field in a dataset.

TTimeField encapsulates the fundamental behavior common to fields that contain time values. Time fields contain time values (without any date), 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 time field, you can access it by name at runtime. When using dynamic field components, you can access the TTimeField instance using the dataset's Fields property or FieldByName method.

See Also


Code Examples