Data.DB.TField.SetVarValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetVarValue(const Value: Variant); virtual;

C++

virtual void __fastcall SetVarValue(const System::Variant &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 Variant value.

Descendants of TField that represent fields that can hold any value specified through a Variant override the SetVarValue method to set the value of the field with the given Variant Value.

Trying to call the SetVarValue method raises an exception.

See Also