PRB: GetChunk/AppendChunk Methods Are Not Clearly Explained (259035)
The information in this article applies to:
- The DAO SDK 3.51
- The DAO SDK 3.6
This article was previously published under Q259035 SYMPTOMS
In the Microsoft Data Access Object (DAO) 3.51 document, the GetChunk/AppendChunk methods that belong to the Field object are not clearly explained. For both methods, the variant that holds the data that is being transferred is said to be of subtype string. This is not true when the database field is of type dbLongBinary (BLOB). In this case the correct variant subtype is an array of bytes.
RESOLUTION
Put binary data in arrays of bytes. Never assign arrays of bytes onto
strings unless they have text semantic; that is, each byte represents an ASCII value that can be converted to a Unicode character.
| Modification Type: | Major | Last Reviewed: | 10/24/2003 |
|---|
| Keywords: | kbBug kbdocfix kbfix kbprb KB259035 |
|---|
|