P
PC Datasheet
How di I get the Len function to return 3 when I type AB(space) in a
textbox?
I have two textboxes and a button on a form. I can enter a string in
MyTextBox and have code in the click event of the button to use the Len
function to output the number of characters I entered in MyTextBox. The
button code is:
Me!MyLenOfString = Len(Me!MyTextBox)
If I type AB(space) in the textbox and click the button, 2 appears in
MyLengthOfString instead of 3.
Steve
textbox?
I have two textboxes and a button on a form. I can enter a string in
MyTextBox and have code in the click event of the button to use the Len
function to output the number of characters I entered in MyTextBox. The
button code is:
Me!MyLenOfString = Len(Me!MyTextBox)
If I type AB(space) in the textbox and click the button, 2 appears in
MyLengthOfString instead of 3.
Steve