CADOParameter.AppendChunkmethod
Appends data to a **Parameter** object.
Syntax
FUNCTION AppendChunk (BYREF dvData AS DVARIANT) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
dvData | A Variant that contains the data to append to the object. |
Return value
S_OK (0) or an HRESULT code.
Description
Appends data to a Parameter object.
Remarks
Use the AppendChunk method on a Parameter object to fill it with long binary or character data. In situations where system memory is limited, you can use the AppendChunk method to manipulate long values in portions rather than in their entirety.
If the adParamLong bit in the Attributes property of a Parameter object is set to true, you can use the AppendChunk method for that parameter.
The first AppendChunk call on a Parameter object writes data to the parameter, overwriting any existing data. Subsequent AppendChunk calls on a Parameter object add to existing parameter data. An AppendChunk call that passes a null value discards all of the parameter data.
Reference
- Include file
CADOCommand.inc - Defined in AfxNova/CAdoParameters.inc:217
- Documented in Databases/ADO Classes/CAdoCommand Class.md
- Topic: CAdoCommand Class