Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing a Date to a Letter

Status
Not open for further replies.

Yustrn

Instructor
Jun 19, 2002
42
US
Hello,

I'm using Crystal 7.0 and I need to know how to change a date to a letter using a formula. What I want to do is if I have someone who has a Termination Date, I want them to come out with just the letter T if they are not terminated then I want the letter A . All help is appreciated.
 
I'm assuming that the field is NULL when there isn't a termination date...

NAME : {@EmployeeStatus}
FORMULA : IF IsNull({Table.TerminationDate}) THEN "A" ELSE "T"
 
You could try something like this:

if termination date > 0 then "T" else "A"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top