Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inputmask for hour
Message
 
À
15/01/2005 12:01:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6
Divers
Thread ID:
00977403
Message ID:
00977595
Vues:
33
># also allows spaces, which is so not relevant for numeric.

Tore,

I noted this in a reply to Hilmar. That's another reason why, when inputing things like zip codes, it's better to use the "9" mask.
>
>>>>Hilmar,
>>>>
>>>>Back in the late eighties, I decided that since there were two ways to use an input mask for numeric input (the other is "99:99"), I'd differentiate how I'd use them.
>>>>
>>>>If the control source was, indeed, numeric, then I'd use the "#" character. If, however, the control source was actually text, such as a zip code or, in your case, a time, then I'd use "9".
>>>>
>>>>This gives me the advantage of knowing, simply by looking at the mask, what data type the control source is.
>>>
>>>Are the two really equivalent? I am not sure about the help file in this case.
>>
>>I believe so. I've never seen a problem with this technique over the last 10+ years.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform