Data.DB.TField.SetAsDateTime
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: protected | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TField |
Delphi
procedure SetAsDateTime(Value: TDateTime); virtual;
C++
virtual void __fastcall SetAsDateTime(System::TDateTime Value);
Description
Sets the value of the field with the given TDateTime value.
Descendants of TField that represent TDateTime fields override the SetAsDateTime method to set the value of the field with the given TDateTime Value.
Trying to call the SetAsDateTime method raises an exception.