Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Input mask and format
Message
De
10/11/2000 21:31:31
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00440157
Message ID:
00440653
Vues:
10
>Hi
>
>I have a numeric field n(11)
>
>I need to show and get input like
>99-99999999-9
>
>What are the setting for inputmask and format?

It needs to be stored as a string (C(11)) with an inputmask '@R 99-99999999-9', and then validated against entry of legal numeric characters such as space, +, . and - before saving.

Unless you do math with it, don't even convert it to a numeric.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform