Navigation:  DAO Object Classes > DaoField Class >

DaoField:GetChunk() Method

Previous pageReturn to chapter overviewNext page


Read binary data from a field



liOffsetA long that is the number of bytes to skip before copying begins
liBytesA long that is the number of bytes you want to return.



GetChunk returns a usual whose type is set to the type of the accessed field. Use GetChunk to return a portion of the total data value at a time. You can use the AppendChunk method to reassemble the pieces.

If liOffset is 0, GetChunk begins copying from the first byte of the field.

If liBytes is greater than the number of bytes in the field, GetChunk returns the actual number of remaining bytes in the field.






Fields Sample