Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text box format
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00390964
Message ID:
00390970
Views:
9
>I have a text box that is used to enter phone numbers of 10 digits. How can I set it up so that when the person enters the number, the box shows the dashes but the dashes are not actually saved as part of the number. I tried setting the input mask of the text box to
>999-999-9999, but it saved the dashes and droped two of the digits.
>
>Thanks,
>Ryan

From the HELP of Format property:
R Displays the format mask for the text box that is specified in the InputMask property. The mask formats data for easier entry and clearer display (for example, if the mask is 99-999, the number 12345 is displayed as 12-345), but is not stored as part of the data. Use only with character or numeric data.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform