FireDAC.Stan.Param.TFDParam.GetData
Delphi
procedure GetData(ABuffer: PByte; AIndex: Integer = -1);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure | public | FireDAC.Stan.Param.pas | FireDAC.Stan.Param | TFDParam |
Description
Fills the buffer with the Value of the parameter in the native FireDAC database driver format.
Use the GetData method to obtain the value of the parameter in the format ready to use by the underlying FireDAC database driver. The format is the one used by physical database fields corresponding to the DataType property.
Note: Check if the buffer has enough space by calling the GetDataSize method.
AIndex parameter allows to specify the value index of array-valued parameter.