Input masks for telephone

arkres

Registered User.
Local time
Today, 20:54
Joined
Sep 26, 2001
Messages
62
Hi,

I would like to use a telephone input mask of !\(999")"000\-0000;0;_ that would change to a text field if the country ID is anything other than the US. Can anyone give me the proper code? Thanks so much (as usual)!!!!!

Pat
 
Code:
If CountryID = "US" Then
    txtMyText.InputMask = "(999) 000-0000"
Else
    txtMyText.InputMask = ""
End If
 
idea

canada has teh same set up as well!
 
Thanks! What would I do without you guys?????
 
Form not saved with input mask

Hi,

The code worked just fine, but the form won't save with the input mask. What am I doing wrong? Thanks again!
 

Users who are viewing this thread

Back
Top Bottom