Data.Win.ADODB.TParameter.AppendChunk

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AppendChunk(Val: OleVariant);

C++

void __fastcall AppendChunk(const System::OleVariant &Val);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Data.Win.ADODB TParameter

Description

Adds data to a parameter.

Call AppendChunk to put data into or add data to a parameter's value. Use AppendChunk to insert binary or text data into a parameter.

AppendChunk may be used to pass all of the data at one time or in pieces using multiple calls to the method. The first call to AppendChunk overwrites any existing data in the parameter. If the data is being passed in its entirety using one call to AppendChunk, no further action takes place. If data is passed in multiple calls, the data passed in Val in each subsequent call to AppendChunk is appended to data previously passed.

Val is the data to pass to the parameter.

Note:  : The Attributes property must contain paLong to use AppendChunk.

See Also