Navigation:  DAO Object Classes > DaoField Class >

DaoField:AppendChunk() Method

Previous pageReturn to chapter overviewNext page

Purpose

Write long binary data into a field

 

Parameters

uValueA usual value that is to be written to a Memo or Long Binary field

 

Notes

The initial AppendChunk operation (after an Edit or  AddNew call) will simply place the data in the field, overwriting any existing data. Subsequent AppendChunk calls within the same Edit or AddNew session will then add to the existing data.
In an ODBCDirect workspace, unless you first edit another field in the current record, using AppendChunk will fail (though no error occurs) while you are in Edit mode.
In an ODBCDirect workspace, after you use AppendChunk on a field, you cannot read or write that field in an assignment statement until you move off the current record and then return to it. You can do this by using the  MoveNext and  MovePrevious methods.

 

Class

DaoField

 

Example

Fields Sample