>>.I ran into something similar when my stored procedure was trimming a value selected for a column in an insert. Apparently, for that particular row, the length of the field in SQL was being reset. Once I changed my insert code, the problem went away.
This was something similar.
The textbox.text data originates in a vfp table. Debugging showed that although there were only 3 characters, the textbox thinks that the text contains 10 (the length of the VFP field), making it equal to the maxlength of textbox.
I trimmed the textbox.text and the problem went away.
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.