Information générale
Catégorie:
Gestionnaire d'écran & Écrans
One other thing: if you have to do some manipulation on the string, you must strip the formatting first before manipulating it if you store the data formatted. For example, you would strore a credit card number with the spaces. To validate if the credit card number is valid, you must strip the space first. That add some overhead to the process.
>The "R" Format property. You know, the thing that applies a format mask to data as specified in the InputMask property. The Builders love it. I don't. Phone numbers, for example. If the data is stored as (999) 999-9999 and you use (999) 999-9999 as your InputMask and have R in the Format, you end up with a display that looks like "((99) 9) 99", or something to that effect.
>
>Frankly, I like to store data as formatted so that I don't have to worry about formatting it from whatever front-end I get it from. So the "R" is worse than useless for me.
>
>What do y'all think?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement