Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Formatting a field Post Reply Post New Topic
Author Message
Kitty1
Senior Member
Senior Member
Avatar

Joined: 14 Apr 2010
Online Status: Offline
Posts: 159
Quote Kitty1 Replybullet Topic: Formatting a field
    Posted: 07 Sep 2011 at 4:47am

Hello, I have a data field of social security # 123456789

How can I print it like this:  123-45-6789   ?

I used left, mid and right to make 3 separate fields, but is there an easier way ?

Thanks!

IP IP Logged
sharona
Senior Member
Senior Member
Avatar

Joined: 16 Oct 2008
Location: United States
Online Status: Offline
Posts: 255
Quote sharona Replybullet Posted: 08 Sep 2011 at 3:38am
Picture({ssn},”xxx-xx-xxxx”
sharona
IP IP Logged
Kitty1
Senior Member
Senior Member
Avatar

Joined: 14 Apr 2010
Online Status: Offline
Posts: 159
Quote Kitty1 Replybullet Posted: 08 Sep 2011 at 4:15am
Hi Sharona
 
Thanks for the reply.   I tried this and it didn't work.   :(    any idea why it wouldn't work for me ?
IP IP Logged
Kitty1
Senior Member
Senior Member
Avatar

Joined: 14 Apr 2010
Online Status: Offline
Posts: 159
Quote Kitty1 Replybullet Posted: 08 Sep 2011 at 4:18am
Hi, I just noticed it was missing the last ")"  I added it and it's fine now.
 
Thanks so much for your help!
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.