|
-
Nov 4th, 2002, 11:23 AM
#1
Thread Starter
Hyperactive Member
Format telephone field - need help
My Crystal report version is 5.1
I need to format a fiel number and it is a telephone number. What is the correct formula or function to format this field in my version.
The data fiels belong to a table from msaccess or mdb
actually the number is printed like this 2136407658
I need in my report to print like this (213) 640-7658
Someone gave me this example but this is not working
Picture("2136407658","(XXX) XXX-XXXX")
I have not this picture fuction in my Crystal report Program, I have only number group Fucntion.
-
Nov 4th, 2002, 01:13 PM
#2
Hyperactive Member
try this..
'('+left(totext(2136407658),3)+') '+mid(totext(2136407658),4,3)+'-'+right(totext(2136407658),4)
''Replace the number with ur field..
hope this helps..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|