Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printer format for area code & Phone #'s
Message
 
À
04/01/2000 18:35:20
Bill Breay
Custom Business Software
Arvada, Colorado, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00312845
Message ID:
00312846
Vues:
28
Bill,

One way to do it is to add the formatting youself in the expression
'(' + cAreaCode + ')'
for the area code field and
left(cPhone, 3) + '-' + substr(cPhone, 4)
for the phone field

Cheers,

Andrew

>Hi All,
>
>Have a basic problem. I have a table with seperate fields for area code (char. 3pos.) and phone number (Char. 7pos) with no format codes. Trying to print these fields and am not able to get () or '-' to show up on report. This is a vfp6 app.
>
>I have tried @R(999), @(999), R(999), (999) for the are code and I only get the 3 numbers such as 303.
>I have tried @R999-9999, @R###-#### and exclude the 'R' and or the '@' and only get the 7 numbers such as 9876543.
>
>What am I missing.
>
>Any help would be appreciated
> TIA
>
>Bill


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform