Thanks in advance for any response. I'm new to Crystal Reports and need some help. Using Crystal 10
I am writing a report to extract training records from our database with the following structure:
Table 1 Employee Table
ENumber
FirstName
LastName
etc
Table 2 Training Records
CourseNo
CourseDescription
StatusDate
etc
What I'm trying to do is have a row for each employee and a column for specific courses(CourseNo). If the employee has taken the course (indicated by a date in the Status_date field) I want a Y to appear. If the Status_date field is empty I want a N to appear.
I've created a formula for each course and inserted it into the detail along with enumber, firstname and lastname. It's returning Y on all records which I know is incorrect.
Here's my formula:
if IsNull({EMPTRAIN_MASTER.STATUS_DATE})
and ({EMPTRAIN_MASTER.COURSE_NO}='SL303')
then "N"
else "Y"
This is probably not the best way so any suggestions are welcome!
Thanks
I am writing a report to extract training records from our database with the following structure:
Table 1 Employee Table
ENumber
FirstName
LastName
etc
Table 2 Training Records
CourseNo
CourseDescription
StatusDate
etc
What I'm trying to do is have a row for each employee and a column for specific courses(CourseNo). If the employee has taken the course (indicated by a date in the Status_date field) I want a Y to appear. If the Status_date field is empty I want a N to appear.
I've created a formula for each course and inserted it into the detail along with enumber, firstname and lastname. It's returning Y on all records which I know is incorrect.
Here's my formula:
if IsNull({EMPTRAIN_MASTER.STATUS_DATE})
and ({EMPTRAIN_MASTER.COURSE_NO}='SL303')
then "N"
else "Y"
This is probably not the best way so any suggestions are welcome!
Thanks