troubleshooting Question

Crystal Reports CDate Error

Avatar of cswebdev
cswebdev asked on
Crystal Reports
6 Comments2 Solutions1474 ViewsLast Modified:
I am using Crystal 9.  I have the following formula:
CDATE(mid({Military_calls.Code},6,2)+"/"+mid({Military_calls.Code},8,2)+"/"+mid({Military_calls.Code},10,2))

The code that it is using is AVAIL07307NR.  When it gets an error because it cannot convert this information to a date, it will not return any information back to the report.  How can I put some kind of "IF" statement around this to say that if there is an error, just return a blank date to the report, but keep processing?
ASKER CERTIFIED SOLUTION
Kurt Reinhardt
Sr. Business Intelligence Consultant/Architect

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros