Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preventing spaces in textfield value
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00799043
Message ID:
00799049
Views:
24
This message has been marked as a message which has helped to the initial question of the thread.
try
StrTran(This.Value, " ", "")
hope this helps

>Is there an easy and/or hard way to make sure that when the user enters a value in the textbox (on a form) that the value does not contain spaces. I can do an alltrim to leading and trailing, but it's the one's in the middle I need to make sure they don't do.
>
>thanks
>Kirk
Previous
Reply
Map
View

Click here to load this message in the networking platform