Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Phone # format in report
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00217987
Message ID:
00217994
Vues:
16
>How do I format a 10 char field to (999) 999-9999 in a report? (it also must be blank if no number exists)...is there a simple format, or do I need to use a messy IIF expression? I tried TRANSFORM, but no go...

Never mind, I gave up on Format. This expression isn't all that bad:

iif(empty(phone),'',transform(phone,'@R (999) 999-9999')), and works.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform