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.
On the MSDN Library discIf you have installed the DAO SDK, see Samples\dbdaoInstallDirectory\DAOSDK\SAMPLES\AppendChunk.cpp.