Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Finding specific info in text field Post Reply Post New Topic
Author Message
Danish
Newbie
Newbie


Joined: 10 Aug 2008
Location: New Zealand
Online Status: Offline
Posts: 6
Quote Danish Replybullet Topic: Finding specific info in text field
    Posted: 06 Aug 2009 at 7:21pm
Hi,
 
 
I have a field called StudentEmergencyName
The name can either be a single name like 'Mr J Edgar' or a couple eg
'Mr J Edgar and Mrs M Jones' or Mr J and Mrs M Jones'
I need to find out which of these 3 versions it could be and then based on this I need to strip out the names into either one or two.
 
This is so I can use the end result to search for an ID for each individual.
 
Need to do this because there is no relationship between the two tables I need to link together to get other information, except through the name.
 
Any ideas what formaula I can use to do the first part of stripping out the names?
 
IP IP Logged
Thunter
Newbie
Newbie


Joined: 05 Aug 2009
Location: United States
Online Status: Offline
Posts: 7
Quote Thunter Replybullet Posted: 07 Aug 2009 at 10:08am
If your formatting is consistend with the "and" in there, you could search the string for it and then use the "split" function to take either side of the "and".
Terry W Hunter
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.