8000 - the max value for all data types....
Does your RFX_Binary call look like this?
RFX_Binary(pFX,_T("BinaryColumn"),&m_ByteArray,34568);
the 34568 is the max value of the BinaryColumn. By default you can only
send 255 bytes.
http://msdn2.microsoft.com/en-us/library/yd6x6wbd(vs.80).aspx
AliR.
"Peter Schmitz" <PeterSchmitz@discussions.microsoft.com> wrote in message
news:8A1AE0D7-9589-40AF-A57C-580D1EE537A4@microsoft.com...
Hi,
I am trying to write binary data to a table column of type VARBINARY
(created beforehand). So, I copy the binary data to the CByteArray of
my
ODBC
consumer class, but when I call Update() to write the new data to the
database, I receive the error "String data, right truncation". Could
this
happen due to carriage returns or bytes with a value of 0 in the data?
Because unfortunately, the binary data can take any value possible -
including 0...
Can anyone help?
Best wishes,
Peter