Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forcing to type numbers & /
Message
De
04/06/2011 03:50:08
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01512273
Message ID:
01512825
Vues:
82
>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"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform