How about having separate fields on your form for Area Code, Number and
Extension? If your data entry form is a single form, these three textboxes
could be unbound with your real telephone number field hidden. You could
then concatenate the telephone number from the AfterUpdate event of each of
these in case the user changed any one of them and set your hidden bound
telephone number equal to the concatenated number.
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
resource@pcdatasheet.com www.pcdatasheet.com
"deko" <deko822@hotmail.com> wrote in message
news:K9wWc.11372$Zm3.7604@newssvr29.news.prodigy.c om...[color=blue]
> I have a (Access 2003) contact management database where the user can
> double-click a contact's phone number in a form and have the Windows Phone
> Dialer dial the number. The problem is the number has to be in canonical
> format or dialing rules won't be applied (cf. MSKB Article 318575). I[/color]
don't[color=blue]
> want to use an Input Mask because users like to put comments after the
> number, like: "985-983-0098 ext. 980 - Mike B."
>
> I thought there might be a function or other canned code to put a phone
> number into canonical format - i.e. +1 (985) 983-0098. ???
>
> If not, I'll need to brush up on regular expressions and gin something up[/color]
on[color=blue]
> my own...
>
> Thanks in advance.
>
>[/color]