Solved

How do I do a search and replace in Crystal Syntax?

Posted on 2006-07-12
3
344 Views
Last Modified: 2008-03-06
I am looking to get a search and replace at a specific location in Crystal Syntax.  I have a database spitting out records stating 01/11/A6, but I want to be able to convert 01/11/A6 to a date that says 01/11/06.  Can anybody help me please?  
0
Comment
Question by:VBBRett
  • 2
3 Comments
 

Author Comment

by:VBBRett
ID: 17093640
anybody have the answer?
0
 
LVL 42

Accepted Solution

by:
frodoman earned 500 total points
ID: 17093712
Replace({YourDatabaseField},'/A6','/06')

This formula will return the original field value but replace the A with a zero.  Is that what you're looking for?
0
 

Author Comment

by:VBBRett
ID: 17093811
Yes, thank you.  I think i was looking for the following

Replace({YourDataBaseField}, '/A', '/0')

But thanks anyway.  500 points for you!
0

Featured Post

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question