?
Solved

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

Posted on 2006-07-12
3
Medium Priority
?
348 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

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

Accepted Solution

by:
frodoman earned 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month8 days, 1 hour left to enroll

765 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