Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Format Expression for phone number mask
Message
De
16/04/2010 13:53:19
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01460592
Message ID:
01460599
Vues:
50
>>Embarrassed to ask this but I've been away from VFP for a while. Brain freeze.
>>
>>I have a phone number character field in a report. Data stored as 2165551212 and I want it to print as (216)555-1212.
>>
>>What do I put in the format expression property in the report designer?
>>
>>TIA
>
>Does
>
>(999) 999-9999 work?
>
>Otherwise you can use transform function for this expression.
That works fine, thanks ( also have to set the template characters to interleave)


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform