TParam.SetData procedure
Set the parameter value from a buffer.
Declaration
procedure SetData(Buffer: Pointer)Arguments
Buffer | Buffer to read data from. |
Description
SetData performs the reverse operation of
GetData: it reads the parameter value from the memory
area pointed to by
Buffer. The size of the data read is determined by
GetDataSize and the
type of data by
DataType : it is the same storage mechanism used by
TField, and so can be used to copy
the value from a
TDataset record buffer.Errors
Not all field types are supported. If an unsupported field type is encountered, an EDatabaseError exception is raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
