input mask

S

seeker4

My input mask for a phone number -- 000\-0000 (316);0;_
does not allow the user to change the 316 if they desire.
The user wants the 316 to be there by default but want to
change it if they need to. How can the input mask be
writtne to allow for this flexibility?

seeker4
 
N

NicNel

Forgive me if I am completely wrong, but I thought that
any default went in the "default" setting of properties
rather than in the mask. If you set a "default" property,
you can still change it.
 
S

seeker4

This is true but a default does not work as an input mask,
i.e. overwrite what appears in the textbox. The user
wants things to work with the least amount of effort on
his part.

seeker4
 
J

John Spencer (MVP)

The best solution that I see is to have two fields in the table and two input
boxes on the form. One for the area code (with a default of 316) and the other
for the Phone number.

Another option is one field, but two input boxes. If you do this, you will have
to have code to split and combine the parts at the appropriate times.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top