Dan and Bruce have the good solutions. Just make this into a class txtPhoneNumber and then use it through all of your apps.
This is what I like about oop... Solve once, use everywhere.
>What is the best way of handling phone numbers in fields.
>
>I initialy thought to have a char field and just place a number in it.
>
>ex:
>
>8005551212
>
>then use an input mask and format (xxx) xxx-xxxx ext. xxxxxxxxx to display the number to the user.
>
>OR
>
>should I store the ()- in the field itself.
>
>Thanks for any help.
Précédent
Suivant
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