Data.DB.TField.SetAsBoolean

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TField

Delphi

procedure SetAsBoolean(Value: Boolean); virtual;

C++

virtual void __fastcall SetAsBoolean(bool Value);

Description

Sets the value of the field with the given Boolean value.

Descendants of TField that represent Boolean fields override the SetAsBoolean method to set the value of the field with the given Boolean Value.

Trying to call the SetAsBoolean method raises an exception.

See Also