Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Abreviate Data Post Reply Post New Topic
Author Message
bremen
Groupie
Groupie
Avatar

Joined: 28 May 2013
Online Status: Offline
Posts: 93
Quote bremen Replybullet Topic: Abreviate Data
    Posted: 03 Jul 2013 at 4:08am

I would like to abreviate one of the fields in my report.

 
I have two companies that have very long names and I want to shorten them. 
 
if{table.field} = "Al's Bass Service"
then
"ABS"
 
if{table.field} = "Bill's Tree Removal"
then
"BTR"
 
what am I missing? 
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 03 Jul 2013 at 4:13am
if{table.field} = "Al's Bass Service"
then
"ABS"
else
if {table.field} = "Bill's Tree Removal"
then
"BTR"
else {table.field}
 
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.