Link to home
Start Free TrialLog in
Avatar of andrewpiconnect
andrewpiconnectFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Access 2010 Input Mask for UK Tel No

Hi,

I have a form that I want users to enter a telephone number into in the following format:
+44 (0) 1234 567890

I have tried to no avail using the "Input Mask" option in the form properties sheet.

Can anyone suggest how best to do this, if it is possible of course?

Many thanks
Avatar of Jeffrey Coachman
Jeffrey Coachman
Flag of United States of America image

Input mask? or do you really want a "format" ...or Both?

An Input mask will format the values as you are entering them, ...but once you leave the control, the formatting disappears.
A format does the opposite,...it displays the data as you want, but does not control how it is entered.

In any event, try this if you need an Input mask:

    \+00" ("0") "0000\ 000000""
Avatar of andrewpiconnect

ASKER

I'm not sure what you mean. The Input Mask you provided works in that it ensures users enter the tel no correctly.

Do you recoomend a different way to achieve this then?
ASKER CERTIFIED SOLUTION
Avatar of Jeffrey Coachman
Jeffrey Coachman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial