Data.DB.TParam.AssignField

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

procedure AssignField(Field: TField);

C++

void __fastcall AssignField(TField* Field);

Description

Assigns the DataType, Name, and Value properties from a TField object.

Use AssignField to set a parameter to represent a particular TField object. AssignField sets the Bound property to true.

Unlike AssignFieldValue, AssignField names the parameter after the field object as well as taking its value.

See Also