Data.DB.TField.SetAsDateTime

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetAsDateTime(Value: TDateTime); virtual;

C++

virtual void __fastcall SetAsDateTime(System::TDateTime Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Data.DB.pas
Data.DB.hpp
Data.DB TField

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.

See Also