Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preventing spaces in textfield value
Message
From
11/06/2003 13:49:29
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00799043
Message ID:
00799047
Views:
32
This message has been marked as the solution to the initial question of the thread.
Easy way:

Put N's in the inputmask...for example, if it is a 5 character field, put:

NNNNN

If you need to allow other characters besides numbers and letters, I can give you another way (involving keypress()).


>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
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform