View Single Post
  #2 (permalink)  
Old January 10th, 2007, 04:06 PM
BananaJim BananaJim is offline
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No idea why it happens. However, here is a temporary solution (very easy but took me ages to see it!!)

-------------------

    if Len(eText) >= 1023 then

        eText = Left(eText,1022) & "X" & Right(eText, Len(eText) - 1022)

    end if

-------------

i.e. just stick a spurious character (X) at position 1023 and let it get knocked out! I guess the same will happen at all multiples of 1023 as well.

Reply With Quote