AppendChunk, FieldSize, GetChunk Methods Example (VC++)

This example uses the AppendChunk and GetChunk methods to copy data to another record, 32K at a time. Afterwards, the new record is deleted.

In a real application, you might use a procedure like this to copy an employee record (including the employee's photo) from one table to another. Note that all the chunk manipulation takes place within a single AddNew-Update sequence.

See How to Build the DAO Method Samples.

If you have installed the DAO SDK, see InstallDirectory\DAOSDK\SAMPLES\AppendChunk.cpp.