Took me ages to find this bug !
txtbox.text = Dat
Dat is a string, len 166
Immediatelt txtbox.text is len 167. The extra character is a chr$(13) that it puts right in the middle (of Dat).
They are no longer the same, so a whole heaps of wrong things happen.
How can I ensure the Access text box does NOT change the string?
txtbox.text = Dat
Dat is a string, len 166
Immediatelt txtbox.text is len 167. The extra character is a chr$(13) that it puts right in the middle (of Dat).
They are no longer the same, so a whole heaps of wrong things happen.
How can I ensure the Access text box does NOT change the string?