Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

appendChunk /w odd number of bytes

Status
Not open for further replies.

BKQc

Programmer
Jul 26, 2002
118
CA
I'm trying to store the result of a file upload into a database field using the appendChunk method on an 'OLE object' field. If I got an even number of bytes, then everything's working well but if it's odd, then we get a problem: the last byte is truncated.

I tought of adding a vbNullChar value but in some cases, this cause problems too... Anyone has an idea?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top