Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Phone number formats
Message
De
29/10/2009 16:41:49
 
 
À
29/10/2009 13:32:16
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01432215
Message ID:
01432289
Vues:
78
>Hi Tore,
>
>>A hopeless task, in my experience,
>You're right that it doesn't look easy, or perhaps even possible.
>
>>It's a good indication of the problem that not even Microsoft suggests any phone formats in Outlook or Excel.
>There *might* be an interesting possibility using Outlook.
>
>http://support.microsoft.com/kb/197264/en-us
>
>This page makes it look like Outlook, at least at some point, has some smarts about phone numbre formatting. Perhaps the Outlook COM object could be kludged into a formatter. Interesting thought.

Maybe you could read the user's default Outlook phone number mask, if such exists. Or, parse a sample in their address book/contact list.

>>A hopeless task, in my experience, since many countries have different recommendations. Here the "standard" is one format for "wired" phones, and one for mobile phones. In our applications we simply let the customer choose between different standard formats, or to create their own.
>>
>>It's a good indication of the problem that not even Microsoft suggests any phone formats in Outlook or Excel.
>>
>>However, we always store only the numbers, not the extra formatting characters, in a character field.
>>
>>>Hi all,
>>>
>>>I'm looking for a source for telephone number formats for the world. Different countries use "nnn-nnnn", "nn nn nn nn", "nnnn nnnn", etc.
>>>
>>>The goal is to be able to display/print phone numbers properly based on country code. A table based on country code would be ideal of course. However, there might not be such a thing as a uniform numbering scheme. I've seen International Telecommunication Union documents for Switzerland for example, show contact numbers in both "nn nn nn nn" and "nnnn nnnn" formats in the same document.
>>>
>>>Anyone have any insights on this?
>>>
>>>Thanks,
>>>
>>>Gary
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform