I
Ivan Grozney
My users would like the area code to be defaulted but allow then to change
it. So I create the input mask and set the default value. However, if they
don't type in a phone number then the record gets stored with the area code
default. So I kluged a way to go through the database (very small) to look
for the area code only in the field and null it out. It seems to me there
must be a better way.
Here is what I have on my text box for the phone number
Input Mask: \(999") "000\-0000;0;_
Default Value: 281
On Enter Event Me![txtPhone].SelStart = 5
Is there a way to have an editable default within the input mask itself?
I tried "(281) "000\-0000;0;_ but it won't let me edit the 281.
tia
Vanya
it. So I create the input mask and set the default value. However, if they
don't type in a phone number then the record gets stored with the area code
default. So I kluged a way to go through the database (very small) to look
for the area code only in the field and null it out. It seems to me there
must be a better way.
Here is what I have on my text box for the phone number
Input Mask: \(999") "000\-0000;0;_
Default Value: 281
On Enter Event Me![txtPhone].SelStart = 5
Is there a way to have an editable default within the input mask itself?
I tried "(281) "000\-0000;0;_ but it won't let me edit the 281.
tia
Vanya