Data.DB.TSQLTimeStampField

From RAD Studio API Documentation
Jump to: navigation, search

Data.DB.TFieldSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTSQLTimeStampField

Delphi

TSQLTimeStampField = class(TField)

C++

class PASCALIMPLEMENTATION TSQLTimeStampField : public TField

Properties

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

Description

TSQLTimeStampField represents a date-time field in a DBExpress dataset.

TSQLTimeStampField encapsulates the fundamental behavior common to Date-time fields. Date-time fields contain combined date and time information, sometimes called timestamps. TSQLTimeStampField uses the TSQLTimeStamp type to work with date-time values internally. This is the type used by DBExpress drivers for representing date and time values.

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

See Also


Code Examples