Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: formula to replace string character Post Reply Post New Topic
Author Message
sanchezgmc06
Senior Member
Senior Member
Avatar

Joined: 21 Jan 2011
Online Status: Offline
Posts: 107
Quote sanchezgmc06 Replybullet Topic: formula to replace string character
     Posted: 18 Apr 2012 at 6:30am
I am pulling a field that in our system is a multiple select question therefore when I add the field into the report it brings back data that looks like the following:
 
case recordreview&client&staff&juvenile&caregiver&youth
 
I would like to separate each selection but if thats not possible then i would like to replace the & with commas
 
The reason i would like to separate the fields is because i need to pull the records that have Juvenile selected as one of the answers
 
please let me know if i need to do more clarification on what i need
 
thank you
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 18 Apr 2012 at 6:35am
if the only purpose for this is selection criteria you can select the record without parsing
{table.field} like '*juvenile*'
IP IP Logged
sanchezgmc06
Senior Member
Senior Member
Avatar

Joined: 21 Jan 2011
Online Status: Offline
Posts: 107
Quote sanchezgmc06 Replybullet Posted: 18 Apr 2012 at 6:44am
thanks!!!
 
works !
IP IP Logged
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