Data.DB.TParam.AsInteger

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AsInteger: Integer read GetAsInteger write SetAsInteger;

C++

__property int AsInteger = {read=GetAsInteger, write=SetAsInteger, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Data.DB.pas
Data.DB.hpp
Data.DB TParam

Description

Specifies the value of the parameter when it represents an integer field.

Set AsInteger to assign the value for an integer field to the parameter. Setting AsInteger sets the DataType property to ftInteger.

Read the AsInteger property to determine the value that was assigned to an output parameter, represented as a 32-bit integer. The value of the parameter is converted to a 32-bit integer if possible.

See Also

Code Examples