Data.DB.TParam.Assign
Delphi
procedure Assign(Source: TPersistent); override;
C++
virtual void __fastcall Assign(System::Classes::TPersistent* Source);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.DB.pas Data.DB.hpp |
Data.DB | TParam |
Description
Copies the Name and Value of another TParam object.
Use Assign to copy from another parameter or from a field component. If the Source parameter is another parameter, Assign transfers the value of
The DataType property
The Bound property
The Value property
The Name property
The ParamType property only if it is currently ftUnknown.
If the Source parameter is a field component, Assign transfers the value of
The DataType property
The Value property
The Name property (from the FieldName of the field)
When assigning values from a field, Assign sets the Bound property to true.
Note: Assign does not alter the use of a parameter, only the identifier and the value.