Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formatting problems with R in TextBox controls.
Message
 
To
07/02/1997 12:03:46
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00019594
Message ID:
00019597
Views:
43
>Hello All...
>I am letting the user enter a zip in a textbox. Format="K" and InputMask="99999-9999". I want the zip code to be saved to the tables as "11784-1234". This works fine, but when the user types "11784" without the 4 digit extension, it saves "11784-". How can I prevent this from happening?

In the VALID method check for len(trim(zipfield)). If it's 6, then save the substr(zipfield,1,5).

Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform