Data.DB.TField.AsSQLTimeStamp

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TField

Delphi

property AsSQLTimeStamp: TSQLTimeStamp read GetAsSQLTimeStamp write SetAsSQLTimeStamp;

C++

__property Data::Sqltimst::TSQLTimeStamp AsSQLTimeStamp = {read=GetAsSQLTimeStamp, write=SetAsSQLTimeStamp};

Description

Represents the field's value as a TSQLTimeStamp.

Use AsSQLTimeStamp to read the value of the field's data into a TSQLTimeStamp record (Delphi) or structure (C++), or to assign a TSQLTimeStamp value to the contents of the field. TField does not support TSQLTimeStamp values, and raises an exception when an attempt is made to get or set the AsSQLTimeStamp property.

Descendants of TField that represent SQL timestamp fields or that support conversions between the field's Value property and TSQLTimeStamp, override AsSQLTimeStamp to read and write the value of the field as a TSQLTimeStamp record (Delphi) or structure (C++).

See Also