Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forcing to type numbers & /
Message
From
04/06/2011 03:50:08
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01512273
Message ID:
01512825
Views:
81
>Hi
>
>One of the fields on my form is always in the format 9999999-9999, that is number (7), a dash (-), then a number (4)
>
>How do I use the input mask to force the user to always type in this format of this field?
>
>TAI

try
.Inputmask="9999999-9999"
.format =""
into the Valid() force the dash (-) into the data

or 

don't put the dash into the data and use Format = "R"
Previous
Reply
Map
View

Click here to load this message in the networking platform