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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only