General information
Category:
Coding, syntax & commands
>>How can I format a textbox in VB6 to accept phone numbers as "(999)999-9999"?
>
>You need to use the Mask Edit. Go to Project->Components and choose "Microsoft Masked Edit Control".
Eric,
Thanks for the answer.
This works except the control doesn't refresh correctly when a field is blank. I have a Phone field that I want formatted as "(999)999-9999".
The Masked controls does this great, however, if a record does not have any phone number, the previous phone number is carried over.
I'm using the ADODC to navigate through each record.
Thanks,
Jerryt
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