Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Removing text Post Reply Post New Topic
Author Message
AndyLeates
Newbie
Newbie


Joined: 05 Oct 2011
Location: United Kingdom
Online Status: Offline
Posts: 23
Quote AndyLeates Replybullet Topic: Removing text
    Posted: 15 Nov 2011 at 1:13am
I have a field in my database that has a value such as below:
 
08/11/2011 11:05 GMT Standard Time - AndrewLeates (Original Description) Migrate CreditSolve to new server equipment
 
I created a formula to remove the parts I do not want on my report:
 
mid({TASKS.DESCRIPT},InStr({TASKS.DESCRIPT},") ")+2)
 
Which returns just:
 
Migrate CreditSolve to new server equipment
 
Works very nicely I thought. Until I added another case note in my database, which is appended to the TASKS.DESCRIPT field, so now the date, time and my name are only removed from the start of the string.
 
Is there a way to search for and remove ANY instance of "08/11/2011 11:05 GMT Standard Time -" from the string - obviously the date and times will change.
 
Any pointers appreciated!
 
Andy
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.